Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F32059828
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
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
index ef58f77..fe93c71 100644
--- a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www.conf
+++ b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www.conf
@@ -1,47 +1,52 @@
# -------------------------------------------------------------
# Webserver
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Site: www.nasqueron.org
# License: Trivial work, not eligible to copyright
# Source file: roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www.conf
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
# -------------------------------------------------------------
# Main site
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
server {
listen 80;
listen [::]:80;
server_name www.nasqueron.org nasqueron.org;
include includes/tls;
ssl_certificate /usr/local/etc/letsencrypt/live/www.nasqueron.org/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/www.nasqueron.org/privkey.pem;
include includes/letsencrypt;
root /var/wwwroot/nasqueron.org/www;
index index.html index.php index.htm;
location = /sites.json {
proxy_pass https://api.nasqueron.org/sites.json;
}
location = /software {
return 302 https://agora.nasqueron.org/Software;
}
location = /.well-known/host-meta {
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
index 6e47173..72f3008 100644
--- a/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www51.conf
+++ b/roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www51.conf
@@ -1,42 +1,47 @@
# -------------------------------------------------------------
# Webserver
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Site: www.nasqueron.org
# License: Trivial work, not eligible to copyright
# Source file: roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/www.conf
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
# -------------------------------------------------------------
# Staging area
# Maintained by Dereckson
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
server {
listen 80;
listen [::]:80;
server_name www51.nasqueron.org;
include includes/tls;
ssl_certificate /usr/local/etc/letsencrypt/live/www51.nasqueron.org/fullchain.pem;
ssl_certificate_key /usr/local/etc/letsencrypt/live/www51.nasqueron.org/privkey.pem;
include includes/letsencrypt;
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;
}
+ 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
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Jun 8, 08:15 (10 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3792731
Default Alt Text
(3 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment