Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Apache2 ProxyPass needs slash at the end in order to prevent 502 errors (bad gateway).
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.
<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