Commit b4cf4bce authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

html5as: Add logrotate to nginx logs

parent d724694e
Pipeline #13732 failed with stage
in 0 seconds
......@@ -21,7 +21,7 @@ md5sum = 8a1383f7508a911c0c2d81445b5d4250
[instance_html5as]
_update_hash_filename_ = instance_html5as.cfg.in
md5sum = a7c6b031633caf513718bd52a80040d3
md5sum = 44a0f9f0a7682e800e56d8ece60b46b4
[template_nginx_conf]
_update_hash_filename_ = templates/nginx_conf.in
......
......@@ -11,6 +11,7 @@ parts =
launcher
nginx-graceful
port-listening-promise
logrotate-entry-nginx
publish-connection-information
# Define egg directories to be the one from Software Release
......@@ -174,6 +175,14 @@ config-port = ${html5as:port}
[monitor-instance-parameter]
monitor-httpd-port = 8197
# Monitor Stack also provides logrotate stack. We only need to extend
# the logrotate-entry-base defined in instance-logrotate-base.cfg.in .
# More parameters can be added following the logrotate-entry-base section
[logrotate-entry-nginx]
<= logrotate-entry-base
name = nginx
log = ${html5as:path_access_log} ${html5as:path_error_log}
# Publish nginx address
[publish-connection-information]
recipe = slapos.cookbook:publish
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment