Created
April 2, 2016 14:01
-
-
Save j4k/41110656350e0c336a418cae6b703519 to your computer and use it in GitHub Desktop.
Apache 2.4 Reverse Proxy to Nginx port 80 => 8080
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
| <VirtualHost *:80> | |
| ServerName something.app | |
| ProxyPreserveHost On | |
| ProxyRequests Off | |
| RequestHeader unset Accept-Encoding | |
| ProxyPass / http://localhost:8080/ | |
| ProxyPassReverse / http://localhost:8080/ | |
| SetOutputFilter proxy-html | |
| ProxyHTMLURLMap http://localhost:8080/ / | |
| ProxyHTMLExtended on | |
| <Location "/"> | |
| Order allow,deny | |
| Allow from all | |
| </Location> | |
| </VirtualHost> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment