Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SSLProxyEngine On # Needed if any of the services will be accessed over SSL encryption (https:// instead of http://)
- #ProxyRequests On # doesn't appear to matter if this is on or not actually
- ProxyPreserveHost Off # Must be off for Couch Potato to work properly
- # Enable VirtualHost for the default http port
- NameVirtualHost *:80
- # Enable VirtualHost for the default https port
- NameVirtualHost *:443
- # Define global rules for the Proxies used
- <Proxy *>
- RewriteEngine on
- AuthType Basic
- AuthName "DS211"
- AuthUserFile /volume1/web/.htpasswd
- AuthGroupFile /dev/null
- Order deny,allow
- Deny from all
- Allow from localhost
- Allow from all # Other IPs can be added, seperated by space
- Satisfy any
- Require valid-user
- </Proxy>
- #################################
- ## Redirects ##
- ## e.g domain.<ext>/sabnzbd ##
- #################################
- # TVHeadend Webinterface
- <Location /tvheadend/>
- ProxyPass http://localhost:9981
- ProxyPassReverse http://localhost:9981
- </Location>
Advertisement
Add Comment
Please, Sign In to add comment