You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can see, at the moment only one acme file is supported.
But my Traefik setup has multiple acme files (different DNS challanges by different domain provider).
Is there any better workaround/ soluton, then starting multiple instances?
Thanks in advance!
Regards,
Basti
The text was updated successfully, but these errors were encountered:
Quick dirty workaround:
changing the following lines seems to work: dump.sh
line 7: acme_file_path=$(echo $acme_file_path | cut -d " " -f 1)
new line 7: ACME_FILE_PATH=${ACME_FILE_PATH:-/traefik/acme.json}
line 437: dump
new line 437:
for i in $(echo $ACME_FILE_PATH | tr " ");
do
acme_file_path=$i
dump
done
line 439...:
while true; do
if [[ -f ${acme_file_path} ]]; then
inotifywait -qq -e modify "${acme_file_path}"
if [[ $? -eq 0 ]]; then
dump
fi
new 439..:
while true; do
if ls ${ACME_FILE_PATH} > /dev/null 2>&1; then
acme_file_path=$(inotifywait -q -e modify $ACME_FILE_PATH)
if [[ $? -eq 0 ]]; then
acme_file_path=$(echo $acme_file_path | cut -d " " -f 1)
dump
fi
I think the current way of handling multiple domains is to just run the container for each domain separately. Feel free to suggest an PR containing the feature for handling multiple domains.
As far as I can see, at the moment only one acme file is supported.
But my Traefik setup has multiple acme files (different DNS challanges by different domain provider).
Is there any better workaround/ soluton, then starting multiple instances?
Thanks in advance!
Regards,
Basti
The text was updated successfully, but these errors were encountered: