路由器能正常订阅,手机端用的面具模块订阅的时候就504..问chatget给的方案加延时,没成功 用的1panel一键安装. OpenResty server { listen 80 ; listen 443 ssl http2 ; index index.php index.html index.htm default.php default.htm default.html; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $server_name; proxy_set_header X-Real-IP $remote_addr; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; access_log /www/sites/xboard/log/access.log main; error_log /www/sites/xboard/log/error.log; location ^~ /.well-known/acme-challenge { allow all; root /usr/share/nginx/html; } include /www/sites/xboard/proxy/*.conf; ssl_certificate /www/sites/xboard/ssl/fullchain.pem; ssl_certificate_key /www/sites/xboard/ssl/privkey.pem; ssl_protocols TLSv1.3 TLSv1.2 TLSv1.1 TLSv1; ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256HE-RSA-AES256-GCM-SHA384HE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:!aNULL:!eNULL:!EXPORT:!DSS:!DES:!RC4:!3DES:!MD5:!PSK:!KRB5:!SRP:!CAMELLIA:!SEED; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m; error_page 497 https://$host$request_uri; proxy_set_header X-Forwarded-Proto https; if ($scheme = http) { return 301 https://$host$request_uri; } add_header Strict-Transport-Security "max-age=31536000"; } 反代 location ^~ / { proxy_pass http://127.0.0.1:7001; proxy_http_version 1.1; proxy_set_header Connection ""; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-PORT $remote_port; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header Scheme $scheme; proxy_set_header Server-Protocol $server_protocol; proxy_set_header Server-Name $server_name; proxy_set_header Server-Addr $server_addr; proxy_set_header Server-Port $server_port; fastcgi_read_timeout 180s;(网上可能解决504实际没用) proxy_cache off; add_header Strict-Transport-Security "max-age=31536000"; } |
[疑问] 请教,某机场一键面板,问下这面配置有没有会导致504的问题?
版权声明:本贴采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
帖子名称:《[疑问] 请教,某机场一键面板,问下这面配置有没有会导致504的问题?》
帖子链接:https://bbs.toot.su/184941.html
帖子名称:《[疑问] 请教,某机场一键面板,问下这面配置有没有会导致504的问题?》
帖子链接:https://bbs.toot.su/184941.html
相关推荐
- 网站境内境外解析不同服务器
- 放弃BT。放弃LNMP 最后选择 DA
- [美国VPS] lightsail已经跌落神坛了
- [疑问] 日常优选cf发现一个cdn,求鉴别
- [疑问] 问下,nginx配置会导致域名解析过慢吗?
- [美国VPS] alist搭建好后为什么直接用ip也能访问?
- 发现这个贴 Discuz! X 3.5 去除应用中心优化版,怎么用啊
- [疑问] 源网站服务器用的是洛杉矶的垃圾线路, 什么方法可以变快?
- [疑问] 反代一般用啥软件啊, nginx吗
- Nginx Proxy Manager问题请教
- [疑问] 斯巴达下单 这个图啥意思啊:
- [疑问] 请教goedge主控端如何开启仅域名访问?
- 宝塔那个nginx挂马有没有解决
- LXC小鸡通杀炸母鸡脚本,实测真的有用
- nginx 莫名奇妙的日志,请大家分析一下。
- 网站被打了,套的CF,怎样查出打我机器的IP?
- [疑问] 1G内存,装个宝塔和nginx,只有十几M了,正常吗?
- [经验] 300卷 分享一下自己的玩法
- 关于WP,请教MJJ
- 利用zerotier穿透组网、打通vps,废物利用
- 清仓一批域名
- [疑问] 请教一下各位大佬这段规则怎么转成htaccess
- 大佬们 我的影视站的自动采集为什么不行 添加了定时任.
- VPS环境搭配及配置
- 1h1g的linux小鸡选apache还是nginx?
- [疑问] 瓦工高配置的机器DD成Windows, 会被官方限制吗?
- CCS 20刀无限流量鸡被暂停,怎么恢复?
- 网站搭建 Alist 有版权问题吗?
- 有偿windows服务器配置
- 【转】【预警】OneInStack供应链投毒事件