Avoid port addition in redirect

This commit is contained in:
Alexandre
2022-12-05 21:32:08 +01:00
committed by GitHub
parent b1f11b252f
commit 5f94f94c0a

View File

@@ -5,7 +5,8 @@ server {
client_max_body_size 0; client_max_body_size 0;
location = / { location = / {
return 301 %%ingress_entry%%/; absolute_redirect off; # Do not add port to redirect
return 301 %%ingress_entry%%/; # Send to ingress
} }
location %%ingress_entry%%/ { location %%ingress_entry%%/ {