搭建openresty

安装下载可以参照官网http://openresty.org/cn/installation.html

sst 108服务器上使用的是openresty  启动命令 service openresty start  停止命令 service openresty stop  

启用停止openresty 就相当于启用停止 Nginx,单独启用Nginx 命令:/usr/local/openresty/nginx/sbin/nginx -c /usr/local/openresty/nginx/conf/nginx.conf 单独停用命令:进入/usr/local/openresty/nginx/sbin目录下 ./nginx stop

sit  113服务器上使用的openresty  Nginx启用命令:/usr/local/openresty/nginx/sbin/nginx -c /opt/tiefan/nginx/conf/nginx.conf     113上的nginx配置文件在/opt/tiefan/ngnix/conf下,与108不同

pre 132服务器同108

Nginx配置文件主要看nginx下Nginx.conf 和conf.d文件夹

猜你喜欢

转载自blog.csdn.net/csdnhnma/article/details/82556764