Solve the error "domain.auth failed (2: No such file or directory)"
-
- Posts: 9
- Joined: Wed Jun 02, 2021 1:29 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Solve the error "domain.auth failed (2: No such file or directory)"
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