mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-03-06 10:23:33 +09:00
Compare commits
4 Commits
3.0.1-ls35
...
3.0.1-ls35
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
410fa0515e | ||
|
|
e1ece8ac1c | ||
|
|
d33df2224b | ||
|
|
3b98b3ae65 |
@@ -22,8 +22,8 @@ azure-mgmt-dns 8.2.0 python
|
||||
backports-tarfile 1.2.0 python
|
||||
bash 5.2.37-r0 apk
|
||||
beautifulsoup4 4.12.3 python
|
||||
boto3 1.35.92 python
|
||||
botocore 1.35.92 python
|
||||
boto3 1.35.93 python
|
||||
botocore 1.35.93 python
|
||||
brotli-libs 1.1.0-r2 apk
|
||||
bs4 0.0.2 python
|
||||
busybox 1.37.0-r9 apk
|
||||
|
||||
@@ -11,3 +11,9 @@ if [[ -f /config/nginx/ldap.conf ]]; then
|
||||
Ensure your configs are updated and remove /config/nginx/ldap.conf
|
||||
If you do not use this config, simply remove it."
|
||||
fi
|
||||
if grep -qrle ' /etc/letsencrypt' /config/nginx; then
|
||||
echo " The following nginx confs are using certificates from the obsolete location
|
||||
/etc/letsencrypt and should be updated to point to /config/etc/letsencrypt
|
||||
"
|
||||
echo -n " " && grep -rle ' /etc/letsencrypt' /config/nginx
|
||||
fi
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
# Migrate existing confs with old paths from /etc/letsencrypt to /config/etc/letsencrypt
|
||||
if [[ ! -f "/config/etc/letsencrypt/02-swag-old-certbot-paths" ]] && ls /config/etc/letsencrypt/renewal/*.conf >/dev/null 2>&1; then
|
||||
sed -i 's| /etc/letsencrypt| /config/etc/letsencrypt|' /config/etc/letsencrypt/renewal/*.conf && touch /config/etc/letsencrypt/02-swag-old-certbot-paths
|
||||
# Migrate existing renewal confs with old paths from /etc/letsencrypt to /config/etc/letsencrypt
|
||||
if ls /config/etc/letsencrypt/renewal/*.conf >/dev/null 2>&1; then
|
||||
sed -i 's| /etc/letsencrypt| /config/etc/letsencrypt|' /config/etc/letsencrypt/renewal/*.conf
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user