Skip to content

Commit 4867db0

Browse files
committedSep 27, 2023
Remove explicit user and group - add su directive for default user (npm).
1 parent 6b565e6 commit 4867db0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎docker/rootfs/etc/logrotate.d/nginx-proxy-manager

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/data/logs/*_access.log /data/logs/*/access.log {
2-
create 0644 npm npm
2+
su npm npm
3+
create 0644
34
weekly
45
rotate 4
56
missingok
@@ -12,7 +13,8 @@
1213
}
1314

1415
/data/logs/*_error.log /data/logs/*/error.log {
15-
create 0644 npm npm
16+
su npm npm
17+
create 0644
1618
weekly
1719
rotate 10
1820
missingok

0 commit comments

Comments
 (0)
Please sign in to comment.