Fix certbot plugins install when using PUID/PGID

This commit is contained in:
Jamie Curnow committed 2023-05-10 14:39:08 +10:00
1 parent 0127dc7f03
commit 05307aa253
2 files changed
+4 -1

No files matched your search

@@ -22,3 +22,6 @@ chown -R "$PUID:$PGID" /var/log/nginx
chown -R "$PUID:$PGID" /etc/nginx/nginx
chown -R "$PUID:$PGID" /etc/nginx/nginx.conf
chown -R "$PUID:$PGID" /etc/nginx/conf.d
# Prevents errors when installing python certbot plugins when non-root
chown -R "$PUID:$PGID" /opt/certbot