Remove unnecessary URL matcher

See 755e892e30 (r27614413), @kvz and @kiloreux
This commit is contained in:
Marius 2018-02-22 21:28:45 +01:00 committed by GitHub
parent f5826fa84f
commit d39e9eac8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 9 deletions

View File

@ -75,14 +75,6 @@ metadata:
annotations: annotations:
kubernetes.io/tls-acme: "true" kubernetes.io/tls-acme: "true"
kubernetes.io/ingress.class: "nginx" kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/configuration-snippet: |
# Security: Don't allow people to upload html and then have browsers parse it
if ($uri ~ \.(?!(jpe?g|gif|png|webp|webm|mp4|mpg|avi|3gp|wav|mp3))$) {
add_header Content-Type application/octet-stream;
add_header Content-Disposition "attachment; filename=$basename";
add_header X-Download-Options noopen;
add_header X-Content-Type-Options nosniff;
}
nginx.ingress.kubernetes.io/proxy-body-size: 0m nginx.ingress.kubernetes.io/proxy-body-size: 0m
nginx.ingress.kubernetes.io/proxy-connect-timeout: "300" nginx.ingress.kubernetes.io/proxy-connect-timeout: "300"
nginx.ingress.kubernetes.io/proxy-read-timeout: "300" nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
@ -124,4 +116,4 @@ spec:
name: tusd name: tusd
minReplicas: 1 minReplicas: 1
maxReplicas: 5 maxReplicas: 5
targetCPUUtilizationPercentage: 90 targetCPUUtilizationPercentage: 90