Skip to content
Snippets Groups Projects
Verified Commit 8c6b9626 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(nextcloud): Drop unneeded server-snippet

parent d9bd353b
No related branches found
No related tags found
No related merge requests found
...@@ -110,30 +110,6 @@ data: ...@@ -110,30 +110,6 @@ data:
ingress: ingress:
annotations: annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 4G nginx.ingress.kubernetes.io/proxy-body-size: 4G
nginx.ingress.kubernetes.io/server-snippet: |-
server_tokens off;
proxy_hide_header X-Powered-By;
rewrite ^/.well-known/webfinger /public.php?service=webfinger last;
rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json;
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
deny all;
}
location ~ ^/(?:autotest|occ|issue|indie|db_|console) {
deny all;
}
persistence: persistence:
enabled: true enabled: true
resources: resources:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment