Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3780835
D1929.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
D1929.diff
View Options
diff --git a/pillar/webserver/sites.sls b/pillar/webserver/sites.sls
--- a/pillar/webserver/sites.sls
+++ b/pillar/webserver/sites.sls
@@ -114,6 +114,12 @@
target: /var/wwwroot/espace-win.org/www
php-fpm: prod
+ www51.espace-win.org:
+ domain: espace-win.org
+ subdomain: www51
+ user: web-org-espacewin-www51
+ php-fpm: prod
+
# Wolfplex Hackerspace
www.wolfplex.org:
domain: wolfplex.org
diff --git a/pillar/webserver/wwwroot51.sls b/pillar/webserver/wwwroot51.sls
--- a/pillar/webserver/wwwroot51.sls
+++ b/pillar/webserver/wwwroot51.sls
@@ -18,6 +18,11 @@
group: dereckson
repository: git@bitbucket.org:dereckson/www.dereckson.be.git
+ espacewin-www:
+ user: dereckson
+ group: dereckson
+ repository: git@bitbucket.org:ewosp/www.espace-win.org.git
+
mediawiki-dereckson:
user: dereckson
group: dereckson
diff --git a/roles/webserver-legacy/nginx/files/vhosts/espace-win.org/www.conf b/roles/webserver-legacy/nginx/files/vhosts/espace-win.org/www.conf
new file mode 100644
--- /dev/null
+++ b/roles/webserver-legacy/nginx/files/vhosts/espace-win.org/www.conf
@@ -0,0 +1,81 @@
+# -------------------------------------------------------------
+# Webserver
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Site: www.espace-win.org
+# License: Trivial work, not eligible to copyright
+# Source file: roles/webserver-legacy/nginx/files/vhosts/espace-win.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>
+
+server {
+ listen 80;
+ listen [::]:80;
+ server_name www.espace-win.org;
+
+ include includes/tls;
+ ssl_certificate /usr/local/etc/letsencrypt/live/www.espace-win.org/fullchain.pem;
+ ssl_certificate_key /usr/local/etc/letsencrypt/live/www.espace-win.org/privkey.pem;
+
+ error_log /var/log/www/espace-win.org/www-error.log;
+ access_log /var/log/www/espace-win.org/www-access.log;
+
+ root /var/wwwroot/espace-win.org/www;
+
+ include includes/letsencrypt;
+
+ location / {
+ # We need to install PHP 5, or to achieve PHP 7 migration
+ # before include Pluton.
+ return 503;
+ }
+}
+
+# -------------------------------------------------------------
+# Domain and protocol redirections
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+server {
+ listen 80;
+ listen [::]:80;
+ server_name espace-win.org espace-win.net www.espace-win.net;
+
+ include includes/tls;
+ ssl_certificate /usr/local/etc/letsencrypt/live/www.espace-win.org/fullchain.pem;
+ ssl_certificate_key /usr/local/etc/letsencrypt/live/www.espace-win.org/privkey.pem;
+
+ include includes/letsencrypt;
+
+ location / {
+ return 301 https://www.espace-win.org$request_uri;
+ }
+}
+
+# -------------------------------------------------------------
+# Staging area
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+server {
+ listen 80;
+ listen [::]:80;
+ server_name www51.espace-win.org;
+
+ include includes/tls;
+ ssl_certificate /usr/local/etc/letsencrypt/live/www.espace-win.org/fullchain.pem;
+ ssl_certificate_key /usr/local/etc/letsencrypt/live/www.espace-win.org/privkey.pem;
+
+ error_log /var/log/www/espace-win.org/www51-error.log;
+ access_log /var/log/www/espace-win.org/www51-access.log;
+
+ root /var/51-wwwroot/espacewin-www;
+
+ include includes/letsencrypt;
+
+ include includes/pluton;
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 17:02 (18 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264855
Default Alt Text
D1929.diff (3 KB)
Attached To
Mode
D1929: Deploy www.espace-win.org with staging area
Attached
Detach File
Event Timeline
Log In to Comment