Guest User

sabnzb subdomein virtual host

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