随笔分类 -  nginx

摘要:1 参考链接:https://blog.csdn.net/qq_36162696/article/details/129315682 阅读全文
posted @ 2023-06-12 17:32 哦~杰克 阅读(324) 评论(0) 推荐(0) 编辑
摘要:1 在安装ng时要加载tcp的配置模块 (stream) 阅读全文
posted @ 2023-03-17 11:56 哦~杰克 阅读(35) 评论(0) 推荐(0) 编辑
摘要:1 新建conf并添加如下: server { listen 2222; #listen、server_name这些正常配置 listen [::]:2222; server_name localhost; location ^~ /s/cms/ { proxy_pass http://cms/; 阅读全文
posted @ 2023-01-12 11:24 哦~杰克 阅读(953) 评论(0) 推荐(0) 编辑
摘要:1 nginx.conf中添加配置如下: server { listen 5050; location / { proxy_pass http://代理IP:3333; proxy_set_header WL-Proxy-Client-IP $remote_addr; } 阿里云控制台将cdn全栈加 阅读全文
posted @ 2023-01-12 11:19 哦~杰克 阅读(191) 评论(0) 推荐(0) 编辑
摘要:1 申请域名 (公有云)2 下载证书 pem key 并上传服务器指定目录3 公有云上做A记录解析 (解析到代理的nginx)4 nginx配置443模块 配置内容: server { listen 80; server_name softwaretest.ysjwproduction.com; r 阅读全文
posted @ 2023-01-09 15:05 哦~杰克 阅读(671) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/kevingrace/p/8269955.html include mime.types; default_type application/octet-stream; proxy_set_header Host $http_host; proxy_s 阅读全文
posted @ 2022-12-16 11:57 哦~杰克 阅读(391) 评论(0) 推荐(0) 编辑
摘要:方法一 更新nginx到最新版本 此漏洞可消除 方法二 在nginx.conf中添加 max_ranges 1; 阅读全文
posted @ 2022-08-29 14:42 哦~杰克 阅读(1126) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/hz0356/p/9729528.html 阅读全文
posted @ 2021-11-22 15:45 哦~杰克 阅读(74) 评论(0) 推荐(0) 编辑
摘要:1 vim /usr/lib/systemd/system/nginx.service(添加内容如下) [Unit] Description=nginx service After=network.target [Service] Type=forking ExecStart=/usr/local/ 阅读全文
posted @ 2021-07-14 17:40 哦~杰克 阅读(125) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示