ubuntu nginx 服务取消开机启动:
1 | update-rc.d -f nginx remove |
nginx 服务开启开机启动:
1 | update-rc.d –f nginx defaults |
nginx 服务启动\重启\停止:
1 | sudo /etc/init.d/nginx start\restart\stop |
nginx 服务器开启自启动
1 | systemctl enable nginx |
nginx 命令
1 | systemctl start nginx.service |
反向代理
1 | location /v1/ai/{ |