美文网首页
Mac下安装配置Nginx

Mac下安装配置Nginx

作者: Kairk996 | 来源:发表于2020-02-01 20:44 被阅读0次

    1.安装homebrew
    2.brew install nginx
    常用命令:
    启动:brew services start nginx
    快速停止: nginx -s stop
    完整有序停止: nginx -s quit

    配置文件路径:/usr/local/etc/nginx/nginx.conf
    服务器默认路径:/usr/local/var/www
    安装路径:/usr/local/Cellar/nginx/1.17.8(安装版本)

    相关文章

      网友评论

          本文标题:Mac下安装配置Nginx

          本文链接:https://www.haomeiwen.com/subject/obnxxhtx.html