nginx應用

 

windows:html

啓動:start nginxnginx

退出:nginx -s quitwindows

檢查配置是否正確:nginx -t -c ./conf/nginx.confcentos

查看是否在運行:tasklist /fi "imagename eq nginx.exe"ui

 

centos7:centos7

// 服務狀態
# systemctl status nginx
// 服務啓動
# systemctl start nginx
// 服務中止
# systemctl stop nginx
// 服務重啓
# systemctl restart nginx.net

https配置參考:https://www.cnblogs.com/tianhei/p/7726505.htmlrest

多域名配置:https://www.jb51.net/article/117697.htmhtm

安裝配置參考:blog

https://blog.csdn.net/qq_38384568/article/details/80760208https://www.cnblogs.com/lamp01/p/10101794.htmlhttps://www.jb51.net/article/107966.htm
相關文章
相關標籤/搜索