The problem of nginx startup flashback in windows10 environment / the problem of Nginx certificate deployment

1. Premise:

2. Question:

    Where is the
  1. tutorial "using bin/nginx-t to test for configuration errors"? Cmd? Putty? It"s still nginx?.
  2. because windows10"s system occupies port 80, Baidu has checked many solutions and tried many, such as: https://blog.csdn.net/ytm1573.
    https://blog.csdn.net/liuhanq.
    does not solve the problem. Starting nginx will still flash
  3. how to bind the ssl certificate to my domain name? I am a liberal arts student, majoring in network and new media, but not very professional. I have been dizzy for a day and asked for dizziness to teach.

1. Bin/nginx, refers to the nginx executable program under the directory bin folder of nginx. You don't have to worry about bin/nginx,. You can configure the environment variables of win according to the online tutorials. Just use the nginx-t command under cmd to
2. Nginx, just change the port
3. There are more tutorials online about the configuration of ssl, and I can show you my formal online configuration. Nginx is much simpler than apache. If you think the configuration is too difficult, you can use the Pagoda Panel. It has made a visual interface for you, and you hardly need to memorize instructions


.

reinstall Nginx, and start Nginx (still flicker, normal), and then go to the browser to see if 127.0.0.1 will have a Welcome to nginx! The web page. If so, there is no problem with this nginx.

Pagoda panel (bt.cn) is the fastest for website construction. Including the certificate issues you mentioned can be applied for and deployed on the website with one click.

wish: the construction of the website is smooth.

 2019.11.13 wx: wxid_q9aw3mm070pa22
Menu