mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-09 19:29:38 +00:00
Compare commits
1 Commits
revert-457
...
v2.12.4
Author | SHA1 | Date | |
---|---|---|---|
b84762b5b9 |
@ -27,15 +27,15 @@ chown -R "$PUID:$PGID" /etc/nginx/conf.d
|
||||
CERT_INIT_FLAG="/opt/certbot/.ownership_initialized"
|
||||
|
||||
if [ ! -f "$CERT_INIT_FLAG" ]; then
|
||||
# Prevents errors when installing python certbot plugins when non-root
|
||||
chown "$PUID:$PGID" /opt/certbot /opt/certbot/bin
|
||||
# Prevents errors when installing python certbot plugins when non-root
|
||||
chown "$PUID:$PGID" /opt/certbot /opt/certbot/bin
|
||||
|
||||
# Handle all site-packages directories efficiently
|
||||
find /opt/certbot/lib -type d -name "site-packages" | while read -r SITE_PACKAGES_DIR; do
|
||||
chown -R "$PUID:$PGID" "$SITE_PACKAGES_DIR"
|
||||
done
|
||||
# Handle all site-packages directories efficiently
|
||||
find /opt/certbot/lib -type d -name "site-packages" | while read -r SITE_PACKAGES_DIR; do
|
||||
chown -R "$PUID:$PGID" "$SITE_PACKAGES_DIR"
|
||||
done
|
||||
|
||||
# Create a flag file to skip this step on subsequent runs
|
||||
touch "$CERT_INIT_FLAG"
|
||||
chown "$PUID:$PGID" "$CERT_INIT_FLAG"
|
||||
fi
|
||||
# Create a flag file to skip this step on subsequent runs
|
||||
touch "$CERT_INIT_FLAG"
|
||||
chown "$PUID:$PGID" "$CERT_INIT_FLAG"
|
||||
fi
|
@ -68,7 +68,7 @@
|
||||
"package_name": "certbot-dns-cloudflare",
|
||||
"version": "=={{certbot-version}}",
|
||||
"dependencies": "cloudflare==4.0.* acme=={{certbot-version}}",
|
||||
"credentials": "# Cloudflare API token\ndns_cloudflare_api_token=0123456789abcdef0123456789abcdef01234567",
|
||||
"credentials": "# Cloudflare API credentials used by Certbot\ndns_cloudflare_email = cloudflare@example.com\ndns_cloudflare_api_key = 0123456789abcdef0123456789abcdef01234",
|
||||
"full_plugin_name": "dns-cloudflare"
|
||||
},
|
||||
"cloudns": {
|
||||
|
Reference in New Issue
Block a user