Page MenuHomeDevCentral

D3437.id8868.diff
No OneTemporary

D3437.id8868.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 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
@@ -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 text/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, 01:38 (25 m, 42 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2154487
Default Alt Text
D3437.id8868.diff (1 KB)

Event Timeline