Created
December 1, 2020 09:01
-
-
Save kmkmjhyiiiu/aa68425b617354e00d6fdff9d239b13f to your computer and use it in GitHub Desktop.
django proxy pass apache conf
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
<VirtualHost *:80> | |
ServerAdmin admin@productdemo.biz | |
ServerName lms.productdemo.biz | |
ServerAlias www.lms.productdemo.biz | |
#DocumentRoot /var/www/html/lms | |
ProxyPass / http://0.0.0.0:8000/ | |
ProxyPassReverse / http://0.0.0.0:8000 | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enabling proxy mode for apache
run these and then copy and paste :P