Created
June 14, 2011 22:06
-
-
Save crackcomm/1026043 to your computer and use it in GitHub Desktop.
/etc/nginx/sites-enabled/media.filmybezlimitu.org
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name media.filmybezlimitu.org; | |
access_log /var/log/nginx/media.filmy.access.log; | |
location / { | |
root /srv/filmy/app/webapp/media; | |
index index.html index.htm; | |
} | |
location /static/admin { | |
root /srv/filmy/venv/lib/python2.6/site-packages/django/contrib/admin/media/; | |
} | |
error_page 404 /srv/filmy/app/webapp/templates/404.html; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment