Page MenuHomeDevCentral

D2045.id5169.diff
No OneTemporary

D2045.id5169.diff

diff --git a/roles/saas-mediawiki/nginx/files/vhosts/nasqueron.org/wikis.conf b/roles/saas-mediawiki/nginx/files/vhosts/nasqueron.org/wikis.conf
new file mode 100644
--- /dev/null
+++ b/roles/saas-mediawiki/nginx/files/vhosts/nasqueron.org/wikis.conf
@@ -0,0 +1,45 @@
+# -------------------------------------------------------------
+# Webserver
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Site: wikis.nasqueron.org
+# License: Trivial work, not eligible to copyright
+# Source file: roles/saas-mediawiki/nginx/files/vhosts/nasqueron.org/wikis.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>
+
+server {
+ listen 80;
+ listen [::]:80;
+ server_name wikis.nasqueron.org;
+
+ include includes/letsencrypt;
+
+ return 301 https://wikis.nasqueron.org$request_uri;
+}
+
+server {
+ server_name wikis.nasqueron.org;
+
+ include includes/tls;
+ ssl_certificate /usr/local/etc/letsencrypt/live/wikis.nasqueron.org/fullchain.pem;
+ ssl_certificate_key /usr/local/etc/letsencrypt/live/wikis.nasqueron.org/privkey.pem;
+
+ error_log /var/log/www/nasqueron.org/wikis-error.log;
+ access_log /var/log/www/nasqueron.org/wikis-access.log;
+
+ include includes/letsencrypt;
+
+ location / {
+ # Use the wiki as home page
+ rewrite ^/$ /wiki;
+ }
+
+ include includes/mediawiki-wiki;
+}
diff --git a/roles/saas-mediawiki/nginx/files/vhosts/test.ook.space/mediawiki.conf b/roles/saas-mediawiki/nginx/files/vhosts/test.ook.space/mediawiki.conf
new file mode 100644
--- /dev/null
+++ b/roles/saas-mediawiki/nginx/files/vhosts/test.ook.space/mediawiki.conf
@@ -0,0 +1,40 @@
+# -------------------------------------------------------------
+# Webserver
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Site: mediawiki.test.ook.space
+# License: Trivial work, not eligible to copyright
+# Source file: roles/saas-mediawiki/nginx/files/vhosts/test.ook.space/mediawiki.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>
+
+server {
+ listen 80;
+ listen [::]:80;
+ server_name mediawiki.test.ook.space;
+
+ include includes/letsencrypt;
+
+ return 301 https://mediawiki.test.ook.space$request_uri;
+}
+
+server {
+ server_name mediawiki.test.ook.space;
+
+ include includes/tls;
+ ssl_certificate /usr/local/etc/letsencrypt/live/mediawiki.test.ook.space/fullchain.pem;
+ ssl_certificate_key /usr/local/etc/letsencrypt/live/mediawiki.test.ook.space/privkey.pem;
+
+ error_log /var/log/www/ook.space/mediawiki-test-error.log;
+ access_log /var/log/www/ook.space/mediawiki-test-access.log;
+
+ include includes/letsencrypt;
+
+ include includes/mediawiki-wiki;
+}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 18, 02:41 (20 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250130
Default Alt Text
D2045.id5169.diff (3 KB)

Event Timeline