feat: dns resolver
This commit is contained in:
parent
e6ee02e2f3
commit
252aad9d31
@ -27,6 +27,9 @@ http {
|
||||
|
||||
########## 以下为自定义配置 ##########
|
||||
|
||||
# 向 docker dns 请求容器 ip 过期时间 1s
|
||||
resolver 127.0.0.11 valid=1s;
|
||||
|
||||
#自定义变量 $connection_upgrade
|
||||
map $http_upgrade $connection_upgrade {
|
||||
default keep-alive; # 默认为 keep-alive 一般 http 请求
|
||||
|
Loading…
Reference in New Issue
Block a user