-
Notifications
You must be signed in to change notification settings - Fork 1.7k
nginx-alpha Ingress Controller ProxyPass syntax issue #1266
Comments
@aLostEngineer the behavior you are describing is correct. |
Yes. @aLostEngineer ping @bprashanth |
@aledbf Ok, thanks. I'll refactor our deploy to use the Closing. |
Yeah this is one area that we compromise usability on one backend for cross platform compat. Annotations/config map is the way to expose such features. Please do add examples (but to the main nginx controller, since nginx-alpha is a toy example that is intentionally kept as simple as possible). |
The ProxyPass URL must have a trailing forward-slash to properly proxy to the root of another http service. Furthermore, the Ingress points must be declared with trailing slashes to match.
Example: with the current setup, if I have a ingress
/a
pointing to a backend nginx service, the Ingress service will keep the/a
subdirectory appended, forcing the backend service to try to access<service>/a
, instead of the webroot.Adding a trailing forward slash to the Ingress point and nginx config will properly forward HTTP requests.
The text was updated successfully, but these errors were encountered: