Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3743908
D953.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
D953.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,18 @@
- dir_mode: 711
- file_mode: 644
+/var/wwwroot/paysannerebelle.com/robot/:
+ file.recurse:
+ - exclude_pat: E@.git
+ - include_empty: True
+ - clean: True
+ - user: hlp
+ - group: www-data
+ - dir_mode: 711
+ - file_mode: 644
+
+
+
# -------------------------------------------------------------
# Nginx logs
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -30,3 +42,11 @@
- user: root
- group: www-data
- dir_mode: 750
+
+/var/log/www/robot.paysannerebelle.com:
+ file.directory:
+ - user: hlp
+ - group: www-data
+ - dir_mode: 750
+
+
diff --git a/roles/shellserver/web-hosting/files/eglide/nginx/vhosts/002-robot.paysannerebelle.com.conf b/roles/shellserver/web-hosting/files/eglide/nginx/vhosts/002-robot.paysannerebelle.com.conf
new file mode 100644
--- /dev/null
+++ b/roles/shellserver/web-hosting/files/eglide/nginx/vhosts/002-robot.paysannerebelle.com.conf
@@ -0,0 +1,54 @@
+# -------------------------------------------------------------
+# 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/002-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/robot.paysannerebelle.com/www-access.log main;
+ error_log /var/log/www/robot.paysannerebelle.com/www-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/eglide.org/fullchain.pem;
+ # SSL - ssl_certificate_key /usr/local/etc/letsencrypt/live/eglide.org/privkey.pem;
+
+ ###
+ ### Main site
+ ###
+
+ location / {
+ index index.html index.htm default.html default.htm;
+ }
+
+ error_page 500 502 503 504 /50x.html;
+
+ }
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 01:27 (20 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2246962
Default Alt Text
D953.diff (3 KB)
Attached To
Mode
D953: add logs directory
Attached
Detach File
Event Timeline
Log In to Comment