Created
December 16, 2014 20:57
-
-
Save azhtom/db73a1e12e9ed6c5ba58 to your computer and use it in GitHub Desktop.
Apache Reverse Proxy (Django Project)
This file contains hidden or 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
<VirtualHost *:80> | |
ServerName www.mydomain.com | |
DocumentRoot /var/www | |
ProxyRequests Off | |
ProxyPass /media ! | |
ProxyPass /static ! | |
ProxyPass / http://127.0.0.1:8000/ | |
ProxyPassReverse / http://127.0.0.1:8000/ | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment