Advertisement
Guest User

Untitled

a guest
Oct 12th, 2015
2,615
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. <VirtualHost *:443>
  2. ServerName some.domain.name
  3. ServerAlias some.domain.name
  4. ServerAdmin webmaster@localhost
  5. DocumentRoot /var/www/html
  6.  
  7. SSLEngine on
  8. SSLProtocol all -SSLv2
  9. SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
  10. SSLCertificateFile /etc/apache2/ssl/apache.crt
  11. SSLCertificateKeyFile /etc/apache2/ssl/apache.key
  12.  
  13. <Location /sonarr>
  14. ProxyPass http://192.168.0.2:8989/sonarr
  15. ProxyPassReverse http://192.168.0.2:8989/sonarr
  16.  
  17. # permit by USER || IP
  18. Satisfy any
  19. # USER
  20. AuthUserFile /etc/apache2/passwds/NzbDrone/.htpasswd
  21. AuthName "Sonarr - Proxy"
  22. AuthType Basic
  23. Require valid-user
  24. # IP
  25. order deny,allow
  26. deny from all
  27. allow from 192.168.0.
  28. </Location>
  29.  
  30. <Location /couch>
  31. ProxyPass http://192.168.0.2:5050/couch
  32. ProxyPassReverse http://192.168.0.2:5050/couch
  33.  
  34. # permit by USER || IP
  35. Satisfy any
  36. # USER
  37. AuthUserFile /etc/apache2/passwds/couchpotato/.htpasswd
  38. AuthName "Couchpotato - Proxy"
  39. AuthType Basic
  40. Require valid-user
  41. # IP
  42. order deny,allow
  43. deny from all
  44. allow from 192.168.0.
  45. </Location>
  46.  
  47. <Location /sabnzbd>
  48. ProxyPass http://192.168.0.2:8080/sabnzbd
  49. ProxyPassReverse http://192.168.0.2:8080/sabnzbd
  50.  
  51. # permit by USER || IP
  52. Satisfy any
  53. # USER
  54. AuthUserFile /etc/apache2/passwds/sabnzbd/.htpasswd
  55. AuthName "SABnzbd - Proxy"
  56. AuthType Basic
  57. Require valid-user
  58. # IP
  59. order deny,allow
  60. deny from all
  61. allow from 192.168.0.
  62. </Location>
  63.  
  64. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement