NGINX Won't start since automatic update

Good morning.
The automatice update went through this morning while I was a sleep and since then, NGINX won’t start.

Not sure if this a bug or not but any quick ideas on how to get it back up and running?

nginx: [emerg] "location" directive is not allowed here in /etc/nginx/conf.d/domains/[domainnamehere].com.conf:57
nginx: configuration file /etc/nginx/nginx.conf test failed
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.

For anyone else who might have this issue, I was using a custom nginx wordpress template so I have swapped it back to the stock one that comes with Hestia it now it works again. I will examine will changes were and apply them.

Strange because I use the same custom template on a different server that also upgraded this morning and it didn’t have any issues.

1 Like

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