Created
January 14, 2011 21:43
-
-
Save fedelebron/780309 to your computer and use it in GitHub Desktop.
How to tell nginx's configuration to directly serve requests from /media to a specific folder, when one has / being handled by Django.
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
location /media { | |
alias /home/flebron/sites/fedelebron.com/media; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment