Guest User

Untitled

a guest
Jul 13th, 2012
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1.  
  2. #SSLProxyEngine On # Needed if any of the services will be accessed over SSL encryption (https:// instead of http://)
  3. #ProxyRequests On # doesn't appear to matter if this is on or not actually
  4. ProxyPreserveHost Off # Must be off for Couch Potato to work properly
  5.  
  6. # Enable VirtualHost for the default http port
  7. NameVirtualHost *:80
  8. # Enable VirtualHost for the default https port
  9. NameVirtualHost *:443
  10.  
  11. # Define global rules for the Proxies used
  12. <Proxy *>
  13. RewriteEngine on
  14. AuthType Basic
  15. AuthName "DS211"
  16. AuthUserFile /volume1/web/.htpasswd
  17. AuthGroupFile /dev/null
  18. Order deny,allow
  19. Deny from all
  20. Allow from localhost
  21. Allow from all # Other IPs can be added, seperated by space
  22. Satisfy any
  23. Require valid-user
  24. </Proxy>
  25.  
  26. #################################
  27. ## Redirects ##
  28. ## e.g domain.<ext>/sabnzbd ##
  29. #################################
  30.  
  31.  
  32. # TVHeadend Webinterface
  33. <Location /tvheadend/>
  34. ProxyPass http://localhost:9981
  35. ProxyPassReverse http://localhost:9981
  36. </Location>
Advertisement
Add Comment
Please, Sign In to add comment