diff --git a/nextcloud/rootfs/defaults/nginx_addition b/nextcloud/rootfs/defaults/nginx_addition index b5cf94ba0..5aa2c52d7 100644 --- a/nextcloud/rootfs/defaults/nginx_addition +++ b/nextcloud/rootfs/defaults/nginx_addition @@ -1,7 +1,7 @@ add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;"; location = /.well-known/host-meta { -return 301 $scheme://$http_hostpublic.php?service=host-meta; +return 301 $scheme://$http_host/public.php?service=host-meta; } location = /.well-known/host-meta.json {