• windows安装nginx遇到的问题


      在windows中下载nginx的压缩包,双击nginx后输入http://localhost:81无法显示正确安装的页面,

      之后查看安装nginx目录下的log文件下的error.log文件,发现错误信息是:No mapping for the Unicode character exists in the target multi-byte code page,百度后发现这是因为解压路径中存在中文,我将这个文件剪切到一个不含中文字符的文件夹中,再次输入http://localhost:81 显示的页面是成功安装的页面(81这个端口号在配置文件nginx.conf中进行修改);

      过程中遇到的问题:

      检测端口是否被占用:netstat -ano | findstr 0.0.0.0:80 或 netstat -ano | findstr "80"

      当我们修改了nginx的配置文件nginx.conf 时,不需要关闭nginx后重新启动nginx,只需要执行命令 nginx -s reload 即可让改动生效;

  • 相关阅读:
    hdu1066之数学题
    hdu1065计算几何
    hdu1060
    hdu1056
    appium安装说明
    LR安装说明
    网络编程
    读写excel
    dom
    HTML
  • 原文地址:https://www.cnblogs.com/aiwen/p/9040682.html
Copyright © 2020-2023  润新知