Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Solve the error "domain.auth failed (2: No such file or directory)"

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
andrebastos
Posts: 9
Joined: Wed Jun 02, 2021 1:29 pm
Contact:
Contact andrebastos
Website

Os: CentOS 6x
Web: nginx + php-fpm
Solve the error "domain.auth failed (2: No such file or directory)"
  • Quote

Post by andrebastos » 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:

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
To resolve this I removed the line in all nginx/php-fpm templates:

Code: Select all

sed -i '/%domain%.auth/g' /usr/local/vesta/data/templates/web/nginx/php-fpm/*
Now, even after SSL renewals, nginx should restart normally.

Hope my tip works helps you all.

--
André Bastos
Hospedagem de Sites
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password