1. 官网下载    http://nginx.org/en/download.html 选择stable version nginx/Windows-1.14.1  pgp
2. 解压    然后配置环境变量,如果环境变量配置无效,启动时请在nginx文件夹中打开命令窗口
3. 打开一个命令窗口 输入start nginx启动服务(停止服务 nginx -s stop)
4.打开文件中的conf=>nginx.conf更改配置,更改监听的端口号

5. 注释掉图中红点处



6. 在conf文件夹下新建一个conf.d文件夹,在其下建一个test.conf

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-08
  • 2021-08-30
  • 2022-01-31
猜你喜欢
  • 2021-10-06
  • 2021-12-17
  • 2021-07-15
  • 2022-12-23
相关资源
相似解决方案