Thank you for the video. Even after quitting the process from cmd, the server is running continously and even the html page is showing the same content.
Thanks for the comment, sometimes it takes few seconds to end the process, please check the services in windows task manager for nginx process after issuing the command in CMD and also check there may be multiple instance of process running, try to issue the command again and check, otherwise manually kill the process from task manager then inspect what process is starting nginx, for example if you are running as windows service with automatic mode it will repeatedly start the service, then you may have to put the service into manual mode to quit
Thanks for the question, first of all is the Nginx service running? if yes the url should be localhost and default port is 80 so you don't need to mention that
Making it available on the web is different process, you need to have a domain registration or at least a internet reachable public IP address, if you have both you can access it either via public IP xx.xx.xx.xx (xx indicates public ip address)
Have you followed the instructions, after unzipping it, click on ngnix.exe, once you clicked it will be running in background, open the browser and type localhost and check it
You need to double click the nginx.exe, before you please make sure you are not running multiple times, by checking with your windows task list process list
Thank you for the video. Even after quitting the process from cmd, the server is running continously and even the html page is showing the same content.
Thanks for the comment, sometimes it takes few seconds to end the process, please check the services in windows task manager for nginx process after issuing the command in CMD and also check there may be multiple instance of process running, try to issue the command again and check, otherwise manually kill the process from task manager then inspect what process is starting nginx, for example if you are running as windows service with automatic mode it will repeatedly start the service, then you may have to put the service into manual mode to quit
C:
ginx>nginx -s reload
nginx: [error] OpenEvent("Global
gx_reload_29452") failed (5: Access is denied)
can you help me with this ?
when I am giving local host :80 It is showing page can't found
Thanks for the question, first of all is the Nginx service running? if yes the url should be localhost and default port is 80 so you don't need to mention that
can u please help its just working on local machine but not serving over the web
Making it available on the web is different process, you need to have a domain registration or at least a internet reachable public IP address, if you have both you can access it either via public IP xx.xx.xx.xx (xx indicates public ip address)
Спасибо, очень помог)))
'nginx' is not recognized as an internal or external command,
operable program or batch file.
why this happen?
Have you followed the instructions, after unzipping it, click on ngnix.exe, once you clicked it will be running in background, open the browser and type localhost and check it
Set proper environment variables
is this for testing ??
Yes, this setup can be used for DEV/TESTING.
how to start it again
You need to double click the nginx.exe, before you please make sure you are not running multiple times, by checking with your windows task list process list
This was nice and simple!