This commit is contained in:
parent
b11683a26c
commit
58ba882a9b
@ -11,13 +11,6 @@ metadata:
|
||||
more_set_headers "X-XSS-Protection: 1; mode=block";
|
||||
more_set_headers "Content-Security-Policy: frame-ancestors 'self'";
|
||||
|
||||
nginx.ingress.kubernetes.io/server-snippet: |
|
||||
if ($request_uri = /) {
|
||||
more_set_headers "Cache-Control: no-cache";
|
||||
}
|
||||
if ($request_uri ~* ^/(config\..*\.json|i18n|home|sites|index\.html)$) {
|
||||
more_set_headers "Cache-Control: no-cache, no-store, must-revalidate";
|
||||
}
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
|
Loading…
Reference in New Issue
Block a user