
nginx
热爱技术的小陈
于上市互联网企业工作十来年,从程序员到技术总监,从.net到php到java再到大数据,喜欢研究新技术
展开
-
nginx部署https域名ssl证书
在server下 加入listen 443 ssl;原创 2024-01-25 15:47:44 · 1345 阅读 · 0 评论 -
linux centos 查看端口是否打开与打开端口
其中permanent表示永久生效,public表示作用域,8080/tcp表示端口和类型。linux查看防火墙开放情况。原创 2024-01-25 15:46:57 · 758 阅读 · 0 评论 -
nginx安装ssl模块http_ssl_module
若出现“–with-http_ssl_module”说明已经安装过,否则继续执行下列步骤。再执行如下命令(这里一定不要执行make install,否则会覆盖掉原来的nginx)执行覆盖命令(先停止nginx,./nginx -s stop)用新的nginx覆盖旧的(会多一个objs文件夹)OpenSSL library错误。如果组件linux缺少,参考如下。PCRE library错误。查看nginx安装的模块。进入nginx源文件目录。原创 2024-01-25 12:09:40 · 1486 阅读 · 0 评论 -
OpenSSL library错误
问题:OpenSSL library错误报错:./configure: error: SSL modules require the OpenSSL library. You can either do not enable the module or install the OpenSSL library into the system, or build the OpenSSL library statically from the source with nginx by using --with-原创 2024-01-25 12:05:14 · 2842 阅读 · 0 评论 -
PCRE library错误
报错:./configure: error: the HTTP rewrite module requires the PCRE library.解决:#yum -y install pcre-devel。PCRE library错误。原创 2024-01-25 12:00:39 · 574 阅读 · 0 评论 -
华为云Nginx配置
华为云Nginx配置原创 2022-12-06 14:58:14 · 1502 阅读 · 0 评论 -
Nginx 安装
官方下载地址 http://nginx.org/download/ 查看最新稳定版本安装编译工具及库文件yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel安装 PCREPCRE 作用是让 Nginx 支持 Rewrite 功能。官方下载地址 https://sourceforge.net/projects/pcre/files/pcre/进入目录cd /usr/local/src/下载wget原创 2022-03-29 22:04:17 · 186 阅读 · 0 评论 -
Nginx 负载均衡4种模式
Nginx 负载均衡4种模式 https://blog.youkuaiyun.com/zhaoyanjun6/article/details/80541464原创 2021-09-18 11:50:45 · 793 阅读 · 0 评论 -
nginx配置及常用命令
操作nginx命令需要先进入nginx安装目录中的sbin目录#查看版本号./nginx -v#查看nginx状态ps -ef | grep nginx#停止./nginx -s stop#启动./nginx#重新加载配置文件./nginx -s reloadnginx配置文件在安装目录的conf目录中nginx.conf#打开配置文件vi nginx.conf配置文件分为三块“全局”,“events”,“http”“http”又分为全局和“server”worker_pro原创 2021-07-14 14:50:53 · 470 阅读 · 0 评论