Skip to content

Commit

Permalink
Nginx: remove 403 from custom handler
Browse files Browse the repository at this point in the history
  • Loading branch information
wrmilling committed Feb 21, 2025
1 parent 14f420e commit d64fc77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kube-system/nginx/nginx-external.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
replicaCount: 2
config:
annotations-risk-level: Critical
custom-http-errors: 404,401,500,503
custom-http-errors: 404,500,503
hsts-max-age: "31449600"
use-forwarded-headers: "true"
block-user-agents: "~*AdsBot-Google.*,~*Amazonbot.*,~*anthropic-ai.*,~*Applebot-Extended.*,~*Bytespider.*,~*CCBot.*,~*ChatGPT-User.*,~*ClaudeBot.*,~*Claude-Web.*,~*cohere-ai.*,~*Diffbot.*,~*FacebookBot.*,~*FriendlyCrawler.*,~*Google-Extended.*,~*GoogleOther.*,~*GPTBot.*,~*img2dataset.*,~*omgili.*,~*omgilibot.*,~*peer39_crawler.*,~*peer39_crawler/1.0.*,~*PerplexityBot.*,~*YouBot.*"
Expand Down
2 changes: 1 addition & 1 deletion kube-system/nginx/nginx-internal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
replicaCount: 2
config:
annotations-risk-level: Critical
custom-http-errors: 404,401,500,503
custom-http-errors: 404,500,503
hsts-max-age: "31449600"
use-forwarded-headers: "true"
service:
Expand Down

0 comments on commit d64fc77

Please sign in to comment.