Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3780856
D3437.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3437.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 17:11 (20 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264870
Default Alt Text
D3437.diff (1 KB)
Attached To
Mode
D3437: Set nginx headers for /.well-known/host-meta
Attached
Detach File
Event Timeline
Log In to Comment