Created
May 17, 2012 02:14
-
-
Save Thermionix/2715702 to your computer and use it in GitHub Desktop.
Virtualhost for Couchpotato, Sickbeard, Headphones, Deluge and SABnzbd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ifmodule mod_ssl.c> | |
<virtualhost *:443> | |
DocumentRoot /var/www | |
<directory " var www> | |
Options FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</directory> | |
LogLevel warn | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined | |
SSLEngine on | |
SSLCertificateFile /etc/ssl/certs/server.cer | |
SSLCertificateKeyFile /etc/ssl/private/server.key | |
BrowserMatch "MSIE [2-6]" \ | |
nokeepalive ssl-unclean-shutdown \ | |
downgrade-1.0 force-response-1.0 | |
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown | |
ProxyRequests Off | |
<proxy *> | |
Order deny,allow | |
Allow from all | |
AuthType Basic | |
AuthName "Password Required" | |
AuthUserFile /usr/local/apache/passwords | |
Require valid-user | |
</proxy> | |
<location deluge> | |
ProxyPass http://127.0.0.1:8112/ | |
ProxyPassReverse / | |
ProxyPassReverseCookieDomain 127.0.0.1 localhost | |
ProxyPassReverseCookiePath / /deluge/ | |
RequestHeader set X-Deluge-Base "/deluge/" | |
Order allow,deny | |
Allow from all | |
</location> | |
<location sabnzbd> | |
ProxyPass http://localhost:8080/sabnzbd | |
ProxyPassReverse http://localhost:8080/sabnzbd | |
</location> | |
<location couchpotato> | |
ProxyPass http://localhost:5000 | |
ProxyPassReverse http://localhost:5000 | |
</location> | |
<location sickbeard> | |
ProxyPass http://localhost:8081/sickbeard/ | |
ProxyPassReverse http://localhost:8081/sickbeard/ | |
</location> | |
<location headphones> | |
ProxyPass http://localhost:8181/headphones | |
ProxyPassReverse http://localhost:8181/headphones | |
</location> | |
</virtualhost> | |
</ifmodule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment