Solve the error "domain.auth failed (2: No such file or directory)"
Posted: Tue Apr 19, 2022 3:24 pm
Hey guys!
I had a recurring and serious problem that I hope I have resolved and I will share it with you now.
The problem happens when installing and renew SSL .
Cannot restart NGINX due to missing "domain.auth" file in NGINX.
This is the problem:
To resolve this I removed the line in all nginx/php-fpm templates:
Now, even after SSL renewals, nginx should restart normally.
Hope my tip works helps you all.
--
André Bastos
Hospedagem de Sites
I had a recurring and serious problem that I hope I have resolved and I will share it with you now.
The problem happens when installing and renew SSL .
Cannot restart NGINX due to missing "domain.auth" file in NGINX.
This is the problem:
Code: Select all
nginx: [emerg] open() "/home/USER/conf/web/DOMAIN.auth" failed (2: No such file or directory) in /home/USER/conf/web/DOMAINnginx.ssl.conf:xx
Code: Select all
sed -i '/%domain%.auth/g' /usr/local/vesta/data/templates/web/nginx/php-fpm/*
Hope my tip works helps you all.
--
André Bastos
Hospedagem de Sites