![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
手把手入门
一百万种可能~
展开
-
Linux:安装nginx
linux安装nginx1、安装所需环境//安装gccyum install gcc-c++ //安装PCRE pcre-develyum install -y pcre pcre-devel //安装zlibyum install -y zlib zlib-devel //安装Open SSLyum install -y openssl openssl-devel2、创建nginx目录并下载安装包//进入usr/local目录cd /usr/local //原创 2022-05-07 17:44:31 · 738 阅读 · 2 评论 -
error: ‘struct crypt_data’ has no member named ‘current_salt’
出现这个错误的话,为了凑字数我说上几句:换一个nginx版本,往高的换原创 2022-05-07 17:01:30 · 1109 阅读 · 0 评论 -
nginx:一个域名(端口)指定多个本地目录
很简单 只要这么配 location /淘宝/ { root D:\Desktop; #vue项目的打包后的dist index index.html index.htm; } location /素材/ { root D:\Desktop; #vue项目的打包后的dist index index.html index.htm; }目录结构...原创 2021-12-16 11:21:25 · 2689 阅读 · 0 评论