You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This and this - the leading slash in the template causes this to occur when RENDER_PATH_PREFIX is undefined and the context root of the application is not / (e.g. this container is deployed to a path behind a LB on a route):
I suggest adding the slash at the end of the injected env var here:
name: RENDER_PATH_PREFIX
value: [yourPathprefix]
And it work with an nginx ingress :
Annotation:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/configuration-snippet: |
rewrite ^(/[yourPathprefix])$ $1/ redirect;
nginx.ingress.kubernetes.io/rewrite-target: /$2
This and this - the leading slash in the template causes this to occur when
RENDER_PATH_PREFIX
is undefined and the context root of the application is not/
(e.g. this container is deployed to a path behind a LB on a route):I suggest adding the slash at the end of the injected env var here:
hello-kubernetes/src/app/server.js
Line 22 in 6e9ac0e
The text was updated successfully, but these errors were encountered: