diff --git a/nextcloud/rootfs/defaults/nginx_addition b/nextcloud/rootfs/defaults/nginx_addition index 30bee06b8..b5cf94ba0 100644 --- a/nextcloud/rootfs/defaults/nginx_addition +++ b/nextcloud/rootfs/defaults/nginx_addition @@ -1,4 +1,4 @@ -add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" +add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;"; location = /.well-known/host-meta { return 301 $scheme://$http_hostpublic.php?service=host-meta; @@ -23,3 +23,4 @@ return 301 $scheme://$http_host/index.php/.well-known/webfinger; location = /.well-known/nodeinfo{ return 301 $scheme://$http_host/index.php/.well-known/nodeinfo; } +}