1. 重启nginx的两个语句:

sudo service nginx restart

sudo nginx -s reload

 

2. nginx配置文件路径: etc/nginx/

尤其是 sites-available/default 里面有如何绑定域名的设置

3. 而ubuntu操作系统里面使用的是

/etc/nginx/conf.d

4. 有用的链接:

http://wesoho.blog.51cto.com/715082/200679

http://www.cyberciti.biz/faq/nginx-restart-ubuntu-linux-command/

http://b.xiacd.com/2013/05/nginx-301/

http://wiki.ubuntu.org.cn/Nginx

相关文章:

  • 2021-07-17
  • 2021-09-28
  • 2022-12-23
  • 2021-08-29
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2021-10-13
猜你喜欢
  • 2021-08-06
  • 2021-11-21
  • 2022-01-07
  • 2021-12-06
  • 2022-03-07
相关资源
相似解决方案