zoukankan      html  css  js  c++  java
  • Nginx在Windows下的使用与配置

    前往官网下载对应的windows版本 官网

    下载后进入安装目录,启动命令行窗口,输入:

    nignx -c conf ginx.conf
    则nginx服务器已经启动。

    打开浏览器,在标题栏输入:

    localhost127.0.0.1
    则可以看到nginx启动成功的信息。

    Welcome to nginx!

    If you see this page, the nginx web server is successfully installed and >working. Further configuration is required.

    For online documentation and support please refer to nginx.org.
    Commercial support is available at nginx.com.

    Thank you for using nginx.

    关闭nginx服务器,回到安装主目录,在命令行窗口有输入:

    nginx -s stop
    则可以关闭nginx服务器。

    查看更多nginx信息,可以在命令行窗口中输入:

    nginx -V
    注意,是要大写的V。

    关于配置,未完待续……

  • 相关阅读:
    Vue
    Vue
    Vue
    服务器上部署django项目流程?
    Git 命令
    git命令?
    消息队列中间件??
    简述COOKIE和SESSION的区别与联系?
    什么是restful API?
    Django、Flask、Tornado的区别?
  • 原文地址:https://www.cnblogs.com/brad1994/p/6576545.html
Copyright © 2011-2022 走看看