summaryrefslogtreecommitdiff
path: root/roles/web/files/nginx/nginx.logrotate
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2024-01-06 18:53:54 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2024-01-06 18:53:54 +0000
commit6c781bb8b9b5dea1f3cdb75a6cbde2b9e8942e8c (patch)
tree9426a091ae3284a117b5482a87c91a96d740c34e /roles/web/files/nginx/nginx.logrotate
parent6db38b7ab9ad2d629f6c317d413cc23f8a40bf44 (diff)
downloadinfra-6c781bb8b9b5dea1f3cdb75a6cbde2b9e8942e8c.tar.gz
infra-6c781bb8b9b5dea1f3cdb75a6cbde2b9e8942e8c.tar.bz2
infra-6c781bb8b9b5dea1f3cdb75a6cbde2b9e8942e8c.zip
Make nginx a role
Diffstat (limited to 'roles/web/files/nginx/nginx.logrotate')
-rw-r--r--roles/web/files/nginx/nginx.logrotate12
1 files changed, 0 insertions, 12 deletions
diff --git a/roles/web/files/nginx/nginx.logrotate b/roles/web/files/nginx/nginx.logrotate
deleted file mode 100644
index da8ba47..0000000
--- a/roles/web/files/nginx/nginx.logrotate
+++ /dev/null
@@ -1,12 +0,0 @@
-/var/log/nginx/*log {
- missingok
- notifempty
- create 640 http root
- daily
- rotate 14
- sharedscripts
- compress
- postrotate
- test ! -r /run/nginx.pid || kill -USR1 `cat /run/nginx.pid`
- endscript
-}