diff --git a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www.conf b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www.conf --- a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www.conf +++ b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www.conf @@ -39,4 +39,9 @@ location = /software { return 302 https://agora.nasqueron.org/Software; } + + location = /.well-known/host-meta { + include includes/cors-open; + default_type text/xml; + } } diff --git a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www51.conf b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www51.conf --- a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www51.conf +++ b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www51.conf @@ -32,6 +32,11 @@ root /var/51-wwwroot/www; index index.html index.php index.htm; + + location = /.well-known/host-meta { + include includes/cors-open; + default_type text/xml; + } # We intentionally skip /sites.json, as we want to use directly in JS code api.n.o/sites.json }