Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768068
D2045.diff
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
D2045.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 06:09 (7 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259586
Default Alt Text
D2045.diff (3 KB)
Attached To
Mode
D2045: Serve MediaWiki SaaS reference implementations in nginx
Attached
Detach File
Event Timeline
Log In to Comment