Page MenuHomeDevCentral

D1331.id3415.diff
No OneTemporary

D1331.id3415.diff

diff --git a/pillar/webserver/sites.sls b/pillar/webserver/sites.sls
--- a/pillar/webserver/sites.sls
+++ b/pillar/webserver/sites.sls
@@ -36,6 +36,7 @@
- assets
- docker
- ftp
+ - infra
- trustspace
# -------------------------------------------------------------
diff --git a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/infra.conf b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/infra.conf
new file mode 100644
--- /dev/null
+++ b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/infra.conf
@@ -0,0 +1,42 @@
+# -------------------------------------------------------------
+# Webserver
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Site: infra.nasqueron.org
+# License: Trivial work, not eligible to copyright
+# Source file: roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/infra.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 infra.nasqueron.org;
+
+ include includes/letsencrypt;
+
+ return 301 https://infra.nasqueron.org$request_uri;
+}
+
+server {
+ server_name infra.nasqueron.org;
+
+ include includes/tls;
+ ssl_certificate /usr/local/etc/letsencrypt/live/infra.nasqueron.org/fullchain.pem;
+ ssl_certificate_key /usr/local/etc/letsencrypt/live/infra.nasqueron.org/privkey.pem;
+
+ error_log /var/log/www/nasqueron.org/infra-error.log;
+ access_log /var/log/www/nasqueron.org/infra-access.log;
+
+ root /var/wwwroot/nasqueron.org/infra;
+
+ location = / {
+ return 302 https://infra.nasqueron.org/servers-log/;
+ }
+}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 13:01 (19 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2266599
Default Alt Text
D1331.id3415.diff (1 KB)

Event Timeline