We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa851b6 + f426e64 commit 0f3b76fCopy full SHA for 0f3b76f
docker/rootfs/bin/common.sh
@@ -12,6 +12,10 @@ export CYAN BLUE YELLOW RED RESET
12
PUID=${PUID:-0}
13
PGID=${PGID:-0}
14
15
+# If changing the username and group name below,
16
+# ensure all references to this user is also changed.
17
+# See docker/rootfs/etc/logrotate.d/nginx-proxy-manager
18
+# and docker/rootfs/etc/nginx/nginx.conf
19
NPMUSER=npm
20
NPMGROUP=npm
21
NPMHOME=/tmp/npmuserhome
docker/rootfs/etc/logrotate.d/nginx-proxy-manager
@@ -1,5 +1,6 @@
1
/data/logs/*_access.log /data/logs/*/access.log {
2
- create 0644 root root
+ su npm npm
3
+ create 0644
4
weekly
5
rotate 4
6
missingok
@@ -12,7 +13,8 @@
}
/data/logs/*_error.log /data/logs/*/error.log {
rotate 10
0 commit comments