Page MenuHomeDevCentral

D3889.id10070.diff
No OneTemporary

D3889.id10070.diff

diff --git a/roles/webserver-alkane/nginx/config.sls b/roles/webserver-alkane/nginx/config.sls
--- a/roles/webserver-alkane/nginx/config.sls
+++ b/roles/webserver-alkane/nginx/config.sls
@@ -46,3 +46,11 @@
{% endfor %}
{% endfor %}
+
+# -------------------------------------------------------------
+# Log
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+
+/etc/newsyslog.conf.d/nginx.conf:
+ file.managed:
+ - source: salt://roles/webserver-alkane/nginx/files/newsyslog/nginx.conf
diff --git a/roles/webserver-alkane/nginx/files/newsyslog/nginx.conf b/roles/webserver-alkane/nginx/files/newsyslog/nginx.conf
new file mode 100644
--- /dev/null
+++ b/roles/webserver-alkane/nginx/files/newsyslog/nginx.conf
@@ -0,0 +1,16 @@
+# -------------------------------------------------------------
+# Salt — nginx configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/webserver-alkane/nginx/files/newsyslog/nginx.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>
+
+/var/log/www/*/*.log root:web 640 90 * @T00 JC /var/run/nginx.pid 30

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 24, 06:51 (22 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3199872
Default Alt Text
D3889.id10070.diff (1 KB)

Event Timeline