Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3743962
D952.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D952.diff
View Options
diff --git a/roles/shellserver/eglide-website/init.sls b/roles/shellserver/eglide-website/init.sls
--- a/roles/shellserver/eglide-website/init.sls
+++ b/roles/shellserver/eglide-website/init.sls
@@ -21,6 +21,13 @@
- dir_mode: 711
- file_mode: 644
+/var/wwwroot/paysannerebelle.com/robot/:
+ file.directory:
+ - user: hlp
+ - group: www-data
+ - dir_mode: 711
+ - makedirs: True
+
# -------------------------------------------------------------
# Nginx logs
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -30,3 +37,9 @@
- user: root
- group: www-data
- dir_mode: 750
+
+/var/log/www/paysannerebelle.com:
+ file.directory:
+ - user: hlp
+ - group: www-data
+ - dir_mode: 750
diff --git a/roles/shellserver/web-hosting/files/eglide/nginx/vhosts/robot.paysannerebelle.com.conf b/roles/shellserver/web-hosting/files/eglide/nginx/vhosts/robot.paysannerebelle.com.conf
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/web-hosting/files/eglide/nginx/vhosts/robot.paysannerebelle.com.conf
@@ -0,0 +1,44 @@
+# -------------------------------------------------------------
+# Eglide — nginx configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Eglide
+# Created: 2016-07-26
+# License: Trivial work, not eligible to copyright
+# Source file: roles/shellserver/web-hosting/files/eglide/nginx/vhosts/robot.paysannerebelle.com.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>
+
+# -------------------------------------------------------------
+# Main vhost receives special responsibilities like serving
+# user directories.
+# -------------------------------------------------------------
+
+ server {
+
+ listen 80;
+ listen [::]:80;
+ server_name robot.paysannerebelle.com;
+ root /var/wwwroot/paysannerebelle.com/robot/;
+
+ access_log /var/log/www/paysannerebelle.com/robot-access.log main;
+ error_log /var/log/www/paysannerebelle.com/robot-error.log;
+
+ ###
+ ### SSL
+ ###
+
+ include includes/letsencrypt.conf;
+
+ # Once the first certificate has been generated, we'll enabl this snippet:
+ #
+ # SSL - include ssl_params;
+ # SSL - ssl_certificate /usr/local/etc/letsencrypt/live/robot.paysannerebelle.com/fullchain.pem;
+ # SSL - ssl_certificate_key /usr/local/etc/letsencrypt/live/robot.paysannerebelle.com/privkey.pem;
+
+ }
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 02:04 (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2246979
Default Alt Text
D952.diff (2 KB)
Attached To
Mode
D952: Add a new vhost for kerozen's FB Bot
Attached
Detach File
Event Timeline
Log In to Comment