DEV Community

Discussion on: .NET Core with NGINX on Linux

Collapse
 
andreimoustache profile image
Andrei Mustață

Great summary! One thing I'd note regarding restarting; they recommend using nginx -s reload for that, which is less brutal, because it gracefully shuts down old workers, and brings up new ones with the new config, i.e. no downtime. With -s reload you also get a free config file syntax check; restarting with a bad config would just not start nginx altogether. This being said, I'm sure there's less common cases when it wouldn't work.

👍

Collapse
 
irina_scurtu profile image
Irina Scurtu

Thanks for this! I didn't knew all the details :)