Page MenuHomeDevCentral

D3437.diff
No OneTemporary

D3437.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
Fri, Sep 20, 16:41 (15 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2153669
Default Alt Text
D3437.diff (1 KB)

Event Timeline