feat(npmplus): enable access logrotate

This commit is contained in:
2025-12-29 21:16:08 +01:00
parent c1c8fc4c11
commit 51daba421e

View File

@@ -68,7 +68,7 @@ services:
# - "NGINX_WORKER_CONNECTIONS=1024" # value of worker_connections, default: 512 # - "NGINX_WORKER_CONNECTIONS=1024" # value of worker_connections, default: 512
# - "DISABLE_NGINX_BEAUTIFIER=true" # disables nginxbeautifier, useful when it fails parsing non-standard custom/advanced configs, default false # - "DISABLE_NGINX_BEAUTIFIER=true" # disables nginxbeautifier, useful when it fails parsing non-standard custom/advanced configs, default false
# - "FULLCLEAN=true" # Cleans unused config folders, default false # - "FULLCLEAN=true" # Cleans unused config folders, default false
# - "LOGROTATE=true" # Enables writing http access logs to /opt/npmplus/nginx/access.log, stream access logs to /opt/npmplus/nginx/stream.log and enables daily logrotation, default false - "LOGROTATE=true" # Enables writing http access logs to /opt/npmplus/nginx/access.log, stream access logs to /opt/npmplus/nginx/stream.log and enables daily logrotation, default false
# - "LOGROTATIONS=7" # Set how often the access.log should be rotated until it is deleted, default 3 # - "LOGROTATIONS=7" # Set how often the access.log should be rotated until it is deleted, default 3
# - "SKIP_IP_RANGES=false" # Skip fetching/whitelisting ip ranges from cloudflare, default true # - "SKIP_IP_RANGES=false" # Skip fetching/whitelisting ip ranges from cloudflare, default true
# - "CRT=72" # Set how many hours should be between certbot trying to renew your certs, default 23 # - "CRT=72" # Set how many hours should be between certbot trying to renew your certs, default 23