-
-
Save nk-gears/5fd31db482f6369024ca1622f5074f14 to your computer and use it in GitHub Desktop.
Apache Port Forward / Reverse Proxy Config
This file contains 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
# Running some application on port 8080, want to make it | |
# available at subdomain.example.com | |
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
ServerName subdomain.example.com | |
ProxyPreserveHost On | |
# setup the proxy | |
<Proxy *> | |
Order allow,deny | |
Allow from all | |
</Proxy> | |
ProxyPass / http://localhost:8080/ | |
ProxyPassReverse / http://localhost:8080/ | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment