mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-03-20 12:39:27 +00:00
fix(ingress-nginx): remove 401 from custom error page
401s are not simply cosmetic errors, they're used by apps to signal for authentication, either by the app's internal authentication or mechanisms like forward-auth. Thus, remove custom error page redirect for it so login functionality on apps don't break
This commit is contained in:
@@ -44,7 +44,7 @@ spec:
|
||||
disable-access-log: "false"
|
||||
log-format-escape-json: "true"
|
||||
# hardening
|
||||
custom-http-errors: 400,401,403,404,405,409,410,411,412,413,414,415,416,417,418,421,425,431,451,500,501,502,503,504,505,506,510
|
||||
custom-http-errors: 400,403,404,405,409,410,411,412,413,414,415,416,417,418,421,425,431,451,500,501,502,503,504,505,506,510
|
||||
hsts-max-age: "31449600"
|
||||
hsts-preload: "true"
|
||||
ssl-protocols: TLSv1.3 TLSv1.2
|
||||
|
||||
Reference in New Issue
Block a user