This commit is contained in:
parent
eb5d95f02c
commit
7bdc38b151
@ -12,10 +12,10 @@ metadata:
|
|||||||
more_set_headers Content-Security-Policy "frame-ancestors 'self'";
|
more_set_headers Content-Security-Policy "frame-ancestors 'self'";
|
||||||
|
|
||||||
nginx.ingress.kubernetes.io/server-snippet: |
|
nginx.ingress.kubernetes.io/server-snippet: |
|
||||||
if ($request_uri = "/") {
|
if ($request_uri = /) {
|
||||||
more_set_headers "Cache-Control: no-cache";
|
more_set_headers "Cache-Control: no-cache";
|
||||||
}
|
}
|
||||||
if ($request_uri ~* "^/(config.*\.json|i18n|home|sites|index\.html)$") {
|
if ($request_uri ~* ^/(config\..*\.json|i18n|home|sites|index\.html)$) {
|
||||||
more_set_headers "Cache-Control: no-cache, no-store, must-revalidate";
|
more_set_headers "Cache-Control: no-cache, no-store, must-revalidate";
|
||||||
}
|
}
|
||||||
spec:
|
spec:
|
||||||
|
Loading…
Reference in New Issue
Block a user