Updating some ingress-nginx settings.
This commit is contained in:
parent
4d73558d4c
commit
e406f0a4d2
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,7 @@ spec:
|
||||||
replicaCount: 3
|
replicaCount: 3
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
type: RollingUpdate
|
type: RollingUpdate
|
||||||
|
allowSnippetAnnotations: true
|
||||||
service:
|
service:
|
||||||
enabled: true
|
enabled: true
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
|
@ -46,12 +47,15 @@ spec:
|
||||||
default: true
|
default: true
|
||||||
|
|
||||||
config:
|
config:
|
||||||
|
block-user-agents: "GPTBot,~*GPTBot*,ChatGPT-User,~*ChatGPT-User*,Google-Extended,~*Google-Extended*,CCBot,~*CCBot*,Omgilibot,~*Omgilibot*,FacebookBot,~*FacebookBot*" # taken from https://github.com/superseriousbusiness/gotosocial/blob/main/internal/web/robots.go
|
||||||
client-header-timeout: 120
|
client-header-timeout: 120
|
||||||
client-body-buffer-size: "100M"
|
client-body-buffer-size: "100M"
|
||||||
client-body-timeout: 120
|
client-body-timeout: 120
|
||||||
enable-brotli: "true"
|
enable-brotli: "true"
|
||||||
|
enable-ocsp: "true"
|
||||||
enable-real-ip: "true"
|
enable-real-ip: "true"
|
||||||
use-proxy-protocol: "true"
|
use-proxy-protocol: "true"
|
||||||
|
hide-headers: Server,X-Powered-By
|
||||||
hsts-max-age: "31449600"
|
hsts-max-age: "31449600"
|
||||||
keep-alive: 120
|
keep-alive: 120
|
||||||
keep-alive-requests: 10000
|
keep-alive-requests: 10000
|
||||||
|
|
Reference in a new issue