Page MenuHomeDevCentral

D1499.id3833.diff
No OneTemporary

D1499.id3833.diff

diff --git a/roles/webserver-legacy/nginx/files/vhosts/wolfplex.org/www.conf b/roles/webserver-legacy/nginx/files/vhosts/wolfplex.org/www.conf
--- a/roles/webserver-legacy/nginx/files/vhosts/wolfplex.org/www.conf
+++ b/roles/webserver-legacy/nginx/files/vhosts/wolfplex.org/www.conf
@@ -1,3 +1,23 @@
+# -------------------------------------------------------------
+# Webserver
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Wolfplex
+# Site: www.wolfplex.org
+# License: Trivial work, not eligible to copyright
+# Source file: roles/webserver-legacy/nginx/files/vhosts/wolfplex.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>
+
+# ---------------------------------------------------------
+# Canonical site
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
server {
server_name www.wolfplex.org;
@@ -11,6 +31,10 @@
root /var/wwwroot/wolfplex.org/www;
index index.html index.php;
+ # ---------------------------------------------------------
+ # Wiki
+ # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
location / {
# Use the wiki as home page
rewrite ^/$ /wiki;
@@ -24,6 +48,10 @@
include includes/mediawiki-wiki;
+ # ---------------------------------------------------------
+ # Other php-fpm services
+ # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
location ~ \.php$ {
fastcgi_pass unix:/var/run/web/www.wolfplex.org/php-fpm.sock;
fastcgi_index index.php;
@@ -32,6 +60,10 @@
}
}
+# ---------------------------------------------------------
+# Redirects for http:// or .be to https://...org
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
server {
listen 80;
listen [::]:80;

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 10:21 (21 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2253984
Default Alt Text
D1499.id3833.diff (2 KB)

Event Timeline