一般来说我们安装nginx的目录都是/usr/local/nginx的,但是用yum安装的目录跟手动安装的不一样,下面是整理的使用yum安装的一些对应目录。

nginx执行文件目录:/usr/sbin/nginx
配置文件路劲:/etc/nginx/nginx.conf
nginx首页html网页路劲:/usr/share/nginx/html
缓存对应的目录:/var/cache/nginx/fastcgi_temp
代理目录:/var/cache/nginx/proxy_temp
这是啥目录:/var/cache/nginx/scgi_temp
这是啥目录:/var/cache/nginx/uwsgi_temp
使用yum安装的nginx启动命令:/usr/sbin/nginx -c /etc/nginx/nginx.conf 

相关文章:

  • 2021-09-27
  • 2021-08-14
  • 2021-12-30
  • 2021-04-10
  • 2022-03-05
  • 2021-08-13
  • 2022-12-23
  • 2021-12-09
猜你喜欢
  • 2022-01-09
  • 2021-12-25
  • 2021-12-09
  • 2021-12-27
  • 2021-12-17
相关资源
相似解决方案