Guest User

sickbeard virtual host

a guest
Aug 22nd, 2012
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName sickbeard.domein.nl
  3. ServerAlias www.sickbeard.domein.nl
  4. <Location />
  5. RedirectPermanent / https://sickbeard.domein.nl/
  6. </Location>
  7. </VirtualHost>
  8. <VirtualHost *:443>
  9.  
  10. ServerName sickbeard.domein.nl
  11. ServerAlias www.sickbeard.domein.nl
  12.  
  13. <Proxy *>
  14. Order deny,allow
  15. Allow from all
  16. </Proxy>
  17. SSLEngine on
  18. SSLProxyEngine On
  19. SSLCertificateFile /etc/ssl/certs/serversick.crt
  20. SSLCertificateKeyFile /etc/ssl/private/serversick.key
  21.  
  22. ProxyRequests Off
  23. ProxyPreserveHost On
  24. ProxyPass / http://localhost:8081/
  25. ProxyPassReverse / http://localhost:8081/
  26. <Location />
  27. Order deny,allow
  28. Allow from all
  29. </Location>
  30.  
  31. ErrorLog /var/log/apache2/sickbeard-error.log
  32. # Possible values include: debug, info, notice, warn, error, crit,
  33. # alert, emerg.
  34. LogLevel info
  35. CustomLog /var/log/apache2/sickbeard-access.log combined
  36. CookieLog /var/log/apache2/sickbeard-cookie.log
  37. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment