*2022* Install Nginx on Windows 10

Поділитися
Вставка
  • Опубліковано 8 лис 2024

КОМЕНТАРІ • 16

  • @manasiprakashrane4591
    @manasiprakashrane4591 2 роки тому +2

    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.

    • @TechNuggetsYT
      @TechNuggetsYT  2 роки тому +1

      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

  • @ballblaster-e7x
    @ballblaster-e7x 10 місяців тому

    C:
    ginx>nginx -s reload
    nginx: [error] OpenEvent("Global
    gx_reload_29452") failed (5: Access is denied)
    can you help me with this ?

  • @demonback245
    @demonback245 2 роки тому +2

    when I am giving local host :80 It is showing page can't found

    • @TechNuggetsYT
      @TechNuggetsYT  2 роки тому +2

      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

  • @rohitchugh19
    @rohitchugh19 Рік тому

    can u please help its just working on local machine but not serving over the web

    • @TechNuggetsYT
      @TechNuggetsYT  Рік тому

      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)

  • @mialii7940
    @mialii7940 6 місяців тому +2

    Спасибо, очень помог)))

  • @dondodo2130
    @dondodo2130 Рік тому +2

    'nginx' is not recognized as an internal or external command,
    operable program or batch file.
    why this happen?

    • @TechNuggetsYT
      @TechNuggetsYT  Рік тому +1

      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

    • @piyushtale0001
      @piyushtale0001 Рік тому

      Set proper environment variables

  • @mtalhakhalid1679
    @mtalhakhalid1679 2 роки тому +1

    is this for testing ??

    • @TechNuggetsYT
      @TechNuggetsYT  2 роки тому +1

      Yes, this setup can be used for DEV/TESTING.

  • @PranaykumarGujja
    @PranaykumarGujja Рік тому

    how to start it again

    • @TechNuggetsYT
      @TechNuggetsYT  Рік тому

      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

  • @lenux5828
    @lenux5828 2 роки тому +1

    This was nice and simple!