Created
April 26, 2013 13:57
-
-
Save Ashton-W/5467556 to your computer and use it in GitHub Desktop.
Figuring out how to make Apache Reverse Proxy do what I need it to do took longer than a couple minutes, leaving this here for posterity. Reverse Proxy for servers running on other ports.
Shows use of subdirectory in ProxyPassReverse declaration.
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
<Location /sabnzb> | |
order deny,allow | |
deny from all | |
allow from all | |
ProxyPass http://localhost:8080/sabnzbd | |
ProxyPassReverse http://localhost:8080/sabnzbd | |
</Location> | |
<Location /couchpotato> | |
order deny,allow | |
deny from all | |
allow from all | |
ProxyPass http://localhost:8082/couchpotato | |
ProxyPassReverse http://localhost:8082/couchpotato | |
</Location> | |
<Location /sickbeard> | |
order deny,allow | |
deny from all | |
allow from all | |
ProxyPass http://localhost:8081/sickbeard | |
ProxyPassReverse http://localhost:8081/sickbeard | |
</Location> | |
<Location /plex> | |
order deny,allow | |
deny from all | |
allow from all | |
ProxyPass http://localhost:32400/web | |
ProxyPassReverse http://localhost:32400/web | |
</Location> | |
<Location /torrent> | |
order deny,allow | |
deny from all | |
allow from all | |
ProxyPass http://localhost:8083 | |
ProxyPassReverse http://localhost:8083 | |
</Location> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment