Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName netdisco.company.org
- Redirect permanent / https://netdisco.company.org/
- </VirtualHost>
- <VirtualHost *:443>
- SSLEngine on
- SSLCertificateFile /etc/apache2/ssl/cert.pem
- SSLCertificateKeyFile /etc/apache2/ssl/key.pem
- ProxyPreserveHost On
- ProxyPass / http://localhost:5000/ retry=0 timeout=60
- ProxyPassReverse / http://localhost:5000/
- ProxyRequests Off
- <Proxy *>
- Order allow,deny
- Allow from all
- </Proxy>
- ServerName netdisco.company.org
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement