mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 09:25:15 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			540 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			540 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/data/logs/*_access.log /data/logs/*/access.log {
 | 
						|
    su npm npm
 | 
						|
    create 0644
 | 
						|
    weekly
 | 
						|
    rotate 4
 | 
						|
    missingok
 | 
						|
    notifempty
 | 
						|
    compress
 | 
						|
    sharedscripts
 | 
						|
    postrotate
 | 
						|
    kill -USR1 `cat /run/nginx/nginx.pid 2>/dev/null` 2>/dev/null || true
 | 
						|
    endscript
 | 
						|
}
 | 
						|
 | 
						|
/data/logs/*_error.log /data/logs/*/error.log {
 | 
						|
    su npm npm
 | 
						|
    create 0644
 | 
						|
    weekly
 | 
						|
    rotate 10
 | 
						|
    missingok
 | 
						|
    notifempty
 | 
						|
    compress
 | 
						|
    sharedscripts
 | 
						|
    postrotate
 | 
						|
    kill -USR1 `cat /run/nginx/nginx.pid 2>/dev/null` 2>/dev/null || true
 | 
						|
    endscript
 | 
						|
}
 |