diff --git a/conf/nginx-primaryonly.conf b/conf/nginx-primaryonly.conf index 7538774d..bde1c641 100644 --- a/conf/nginx-primaryonly.conf +++ b/conf/nginx-primaryonly.conf @@ -72,7 +72,7 @@ rewrite ^/.well-known/host-meta.json /cloud/public.php?service=host-meta-json last; rewrite ^/.well-known/carddav /cloud/remote.php/carddav/ redirect; rewrite ^/.well-known/caldav /cloud/remote.php/caldav/ redirect; - rewrite ^/.well-known/webfinger /cloud/index.php/.well-known/webfinger - rewrite ^/.well-known/nodeinfo /cloud/index.php/.well-known/nodeinfo + rewrite ^/.well-known/webfinger /cloud/index.php/.well-known/webfinger redirect; + rewrite ^/.well-known/nodeinfo /cloud/index.php/.well-known/nodeinfo redirect; # ADDITIONAL DIRECTIVES HERE