Page MenuHomeDevCentral

D3437.id8875.diff
No OneTemporary

D3437.id8875.diff

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 application/xrd+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
@@ -33,5 +33,10 @@
root /var/51-wwwroot/www;
index index.html index.php index.htm;
+ location = /.well-known/host-meta {
+ include includes/cors-open;
+ default_type application/xrd+xml;
+ }
+
# We intentionally skip /sites.json, as we want to use directly in JS code api.n.o/sites.json
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 11:24 (17 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2257850
Default Alt Text
D3437.id8875.diff (1 KB)

Event Timeline