Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ProxyPass /dresden/ http://127.0.0.1:5000/
- ProxyPassReverse /dresden/ http://127.0.0.1:5000/
- RewriteCond %{HTTP_HOST} !^mrsengo\.com/dresden/$ [NC]
- RewriteRule ^/dresden/$ http://%{HTTP_HOST}/dresden/ [L,R=301]
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- </VirtualHost>
- <VirtualHost *:443>
- ServerName mrsengo.com
- ProxyPass /dresden/ http://127.0.0.1:5000/
- ProxyPassReverse /dresden/ http://127.0.0.1:5000/
- RewriteCond %{HTTP_HOST} !^mrsengo\.com/dresden/$ [NC]
- RewriteRule ^/dresden/$ http://%{HTTP_HOST}/dresden/ [L,R=301]
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement