nginx-vhosts.conf broken

mkniskanen

Verified User
Joined
Sep 17, 2008
Messages
73
Location
Lieksa, Finland
I had updated PHP versions in late December (26/12) and today a customer complained that her SSL certificate was not valid. That seemed to be the case. However, even though I force updated it it would not show up. Then I did service nginx restart and immediately got a fatal error telling nginx-vhosts.conf was incorrect. I had a look at it and found out that the file was NOT a proper nginx configuration file but a configuration TEMPLATE. I cannot but wonder how the nginx service had succeeded in being running for over a month. The date and time of the conf file matched with the PHP 7.4 update time.

Performing a ./build update followed by ./build rewrite_confs and service nginx restart helped and now the sites are running correctly.

I am just wondering how that was possible with a simple PHP update.
 
Back
Top