NGINX Configuration - Linux
/etc/logrotate.d/nginx
Quick Actions
๐ฅ Download Original nginxConfiguration File Information
Authentic & Original
Unaltered nginx from fresh installation.
Linux Distribution Support
๐ Currently viewing: Red Hat Enterprise Linux 8 (Ootpa)
โ Also compatible:
โ Different versions:
Alpine:
Alpine Linux v3.21
Configuration File Content
14 lines
/var/log/nginx/*log {
create 0664 nginx root
daily
rotate 10
missingok
notifempty
compress
sharedscripts
postrotate
/bin/kill -USR1 `cat /run/nginx.pid 2>/dev/null` 2>/dev/null || true
endscript
}
Download Commands
nginx โข
Download the 100% original unaltered configuration file pulled from NGINX
Using wget:
wget -O nginx.example https://exampleconfig.com/api/v1/config/original/7c96eb33f2a56b46930c9476067e9ac0?hint=nginx
Using curl:
curl https://exampleconfig.com/api/v1/config/original/7c96eb33f2a56b46930c9476067e9ac0?hint=nginx > nginx.example
Related Configuration Files
/etc/logrotate.d/nginx
NGINX ยท Debian 9 (Stretch)
/etc/logrotate.d/nginx
NGINX ยท Debian 9 (Stretch)
/etc/logrotate.d/nginx
NGINX ยท Debian 9 (Stretch)
/etc/logrotate.d/nginx
Apache HTTP Server ยท Red Hat Enterprise Linux 8 (Ootpa)
/etc/logrotate.d/nginx
Apache HTTP Server ยท Red Hat Enterprise Linux 8 (Ootpa)
/etc/logrotate.d/nginx
Apache HTTP Server ยท Red Hat Enterprise Linux 8 (Ootpa)