Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName netdisco.company.org
  3. Redirect permanent / https://netdisco.company.org/
  4. </VirtualHost>
  5.  
  6. <VirtualHost *:443>
  7. SSLEngine on
  8. SSLCertificateFile /etc/apache2/ssl/cert.pem
  9. SSLCertificateKeyFile /etc/apache2/ssl/key.pem
  10.  
  11. ProxyPreserveHost On
  12. ProxyPass / http://localhost:5000/ retry=0 timeout=60
  13. ProxyPassReverse / http://localhost:5000/
  14.  
  15. ProxyRequests Off
  16. <Proxy *>
  17. Order allow,deny
  18. Allow from all
  19. </Proxy>
  20.  
  21. ServerName netdisco.company.org
  22. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement