Reputation: 21
I have installed nginx as a load balancer on my Windows machine using nssm. Now, I want to reload the configuration file of nginx for that I used nginx -s reload command but it is not working. It gives errors as access denied and I don't want to restart nginx. Is there any way to reload the nginx configuration file in windows.
Upvotes: 1
Views: 5070
Reputation: 1829
After https://forum.nginx.org/read.php?11,238513:
run nginx service as an admin and issue reload command from admin prompt as well
dirty way but working one
Upvotes: 0