Last active
October 14, 2015 15:18
-
-
Save jpluimers/cb800ac6388e2c4094e9 to your computer and use it in GitHub Desktop.
Apache2 ProxyPass needs slash at the end in order to prevent 502 errors (bad gateway).
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
Proxy Error | |
The proxy server received an invalid response from an upstream server. | |
The proxy server could not handle the request GET /account/login. | |
Reason: DNS lookup failure for: 192.168.71.46:8080account | |
Additionally, a 502 Bad Gateway error was encountered while trying to use an ErrorDocument to handle the request. |
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
<Location /shell> | |
ProxyPass http://localhost:4200/ | |
Require all granted | |
</Location> | |
<Location /> | |
ProxyPass http://192.168.71.46:8080/ | |
Require all granted | |
</Location> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment