随笔分类 -  nginx

nginx使用
nginx服务转发
摘要:location /path { proxy_pass http://127.0.0.1:8080; } 阅读全文

posted @ 2022-11-14 16:44 抡砖 阅读(14) 评论(0) 推荐(0)

nginx SSL证书配置
摘要:#SSL-INFO-START#SSL证书 #公钥+私钥ssl_certificate ssl/fullchain.pem; #私钥ssl_certificate_key ssl/privkey.pem;#兼容性 ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #密码套件s 阅读全文

posted @ 2022-11-14 16:40 抡砖 阅读(77) 评论(0) 推荐(0)

nginx访问域名对应文件目录
摘要:server { listen 80; server_name ~^(.+)?.test.lunzhuan.cn$; set $www_root $1; root data/web/test.lunzhuan.cn/$www_root;} 阅读全文

posted @ 2022-09-19 10:38 抡砖 阅读(75) 评论(0) 推荐(0)

导航