V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  yeccc  ›  全部回复第 2 页 / 共 2 页
回复总数  27
1  2  
331 天前
回复了 yeccc 创建的主题 程序员 求助, nginx 做正向代理出现 502 bad gateway
@rekulas 没次会有一两个依赖出现 502 其他都正常
331 天前
回复了 yeccc 创建的主题 NGINX 大佬们求助 nginx 配置
@ryd994 大佬我按照你说的将 proxy_connect 与 880 的配置在一起,还是一样的问题
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
resolver 8.8.8.8; #指定 DNS 服务器 IP 地址
listen 880 default_server;

proxy_connect;
proxy_connect_allow 443;
proxy_connect_connect_timeout 10s;
proxy_connect_read_timeout 10s;
proxy_connect_send_timeout 10s;

location / {
proxy_pass $scheme://$host$request_uri; #设定代理服务器的协议和地址
proxy_set_header HOST $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_buffers 256 4k;
proxy_max_temp_file_size 0k;
proxy_connect_timeout 30;
proxy_send_timeout 60;
proxy_read_timeout 60;
proxy_next_upstream error timeout invalid_header http_502;
error_page 405 =200 http://$host$request_uri;
}
}
331 天前
回复了 yeccc 创建的主题 NGINX 大佬们求助 nginx 配置
@ryd994 哦哦,谢谢大佬我去试试
331 天前
回复了 yeccc 创建的主题 NGINX 大佬们求助 nginx 配置
@akira 为了不手动打包不得已
2023-03-27 11:17:43 +08:00
回复了 yeccc 创建的主题 VPS 有没有稳定的自建机场方案
@Amaake [淘宝] https://m.tb.cn/h.UrYbIl5?tk=b4ryd9csYtz CZ3457 「 Azure 微软云 亚马逊云 aws 阿里 云验证 绑定 注册的信用虚拟卡」
点击链接直接打开 或者 淘宝搜索直接打开
2023-03-01 16:09:43 +08:00
回复了 yeccc 创建的主题 VPS 有没有稳定的自建机场方案
@boris1993Jr 就是淘宝卖家会提供一个信用卡号里面有 1 美元让你注册用
2023-03-01 10:59:47 +08:00
回复了 yeccc 创建的主题 VPS 有没有稳定的自建机场方案
@boris1993Jr 淘宝上买的信用卡注册的
1  2  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2147 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 10:58 · PVG 18:58 · LAX 03:58 · JFK 06:58
Developed with CodeLauncher
♥ Do have faith in what you're doing.