How do I upgrade Nginx in Windows?

Step 1

nginx.org/en/download.html
2023-06-08--18-08-26

Step 2

Stop the Nginx service:

net stop Nginx

2023-06-08--18-11-22

Step 3

Replace nginx.exe with the new version.

Step 4

Start the Nginx service:

net start Nginx

2023-06-08--18-13-43