How to solve nginx server restart issue?

608 Views Asked by At

Now I am using Cocos as frontend, and Laravel as backend.

And server is NGINX. After restart NGINX server, I got this error.

enter image description here

enter image description here

Before restart server, there was no error. How to fix this issue?

1

There are 1 best solutions below

0
adrian7 On

It's expected for the server to close all connections when it's restarted. You should use "reload" instead. Typically:

sudo service nginx reload

http://nginx.org/en/docs/beginners_guide.html#control