Page MenuHomeDevCentral

D3459.id8954.diff
No OneTemporary

D3459.id8954.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
@@ -44,4 +44,9 @@
include includes/cors-open;
default_type application/xrd+xml;
}
+
+ location = /.well-known/host-meta.json {
+ include includes/cors-open;
+ default_type application/json;
+ }
}
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
@@ -38,5 +38,10 @@
default_type application/xrd+xml;
}
+ location = /.well-known/host-meta.json {
+ include includes/cors-open;
+ default_type application/json;
+ }
+
# 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
Mon, Nov 18, 20:34 (19 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2251148
Default Alt Text
D3459.id8954.diff (1 KB)

Event Timeline