udpate
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# HTTP 转发 (80 -> 30080) - Let's Encrypt HTTP Challenge 需要
|
||||
# HTTP 转发 (80 -> 30080)
|
||||
upstream traefik_http {
|
||||
server 127.0.0.1:30080;
|
||||
}
|
||||
@@ -6,16 +6,11 @@ upstream traefik_http {
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
proxy_pass traefik_http;
|
||||
|
||||
# 优化的超时设置
|
||||
proxy_timeout 1h;
|
||||
proxy_connect_timeout 5s;
|
||||
|
||||
# Stream 模块支持的选项
|
||||
proxy_responses 1;
|
||||
proxy_buffer_size 16k;
|
||||
# 超时设置
|
||||
proxy_timeout 300s;
|
||||
proxy_connect_timeout 10s;
|
||||
}
|
||||
|
||||
# HTTPS 转发 (443 -> 30443)
|
||||
@@ -39,6 +34,4 @@ server {
|
||||
# Stream 模块支持的选项
|
||||
proxy_responses 1;
|
||||
proxy_buffer_size 16k;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user