
nginx
文章平均质量分 51
dacidong
运维工程师一枚,我为自己带盐......
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
nginx安装http_ssl模块实现https并反向代理后端http
nginx安装http_ssl模块实现https并反向代理后端http1.安装nginx①tar -zxf nginx-1.14.2.tar.gz②cd nginx-1.14.2③./configure --prefix=/home/majd/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_realip_module④make⑤make install2.修改nginx配置文件将https证书放到原创 2021-11-24 09:39:41 · 341 阅读 · 2 评论 -
nginx非root用户使用1024以下端口
nginx非root用户使用1024以下端口nginx应用需要使用80和443端口,但是非root用户,nginx -t 检查文件是会报错:[majd@majd nginx]$ /home/majd/nginx/sbin/nginx -tnginx: the configuration file /home/majd/nginx/conf/nginx.conf syntax is oknginx: [emerg] bind() to 0.0.0.0:443 failed (13: Permissio原创 2021-11-23 17:11:14 · 4503 阅读 · 0 评论 -
源码编译安装mysql5.7.34 (5.7各版本均使用) 步骤全!
源码编译安装mysql5.7.34一、下载软件安装包1.官网下载源码包:https://downloads.mysql.com/archives/community/2.下载cmake 、boost。我只利用的版本为cmake-3.8.0-rc2.tar.gz和boost_1_59_0.tar.gz3.将安装包上传至主机/iddbs/soft 这里管理mysql的主机用户为iddbs4.创建用户make /iddbsuseradd -d /iddbs iddbscp /etc/skel/原创 2021-10-14 17:55:21 · 2171 阅读 · 2 评论 -
nginx负载均衡配置
nginx负载均衡配置将server和upstream区域单独写成一个文件cat nginx.confuser nginx;worker_processes 4;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;pid logs/nginx.pid;events { use epoll; worker_connecti原创 2021-10-12 11:05:04 · 494 阅读 · 0 评论