404 error /.well-known/acme-challenge/

Dear community,

im having trouble getting the …/.well-known/acme-challenge/ to work. It has worked always in the past few months but after a corruption of one of the files i had to reinstall letsencrypt completely.
Im running Ubuntu 16.04lts and only use haproxy, which i always have to stop before running letsencrypt.
Now the problem when running it is that the /acme-challenge/ gets deleted every time.
So this is the first time im retrieving the certificate after the reinstall.
I run letsencrypt with this code:
letsencrypt certonly -a webroot --webroot-path=/var/www/html -d domain.com -d www.domain.com

Has anybody had experience with this problem of the acme folder being deleted when running the lets encrypt software?

Thanks for the help

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.