mirror of
https://gitee.com/fit2cloud-feizhiyun/1Panel.git
synced 2024-12-02 03:48:02 +08:00
feat: 反向代理配置默认增加协议转发 (#2456)
This commit is contained in:
parent
154ea0b4ce
commit
fa420b9346
@ -6,6 +6,7 @@ location ^~ /test {
|
||||
proxy_set_header REMOTE-HOST $remote_addr;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
add_header X-Cache $upstream_cache_status;
|
||||
|
@ -32,7 +32,7 @@ server {
|
||||
set $ipWhiteAllow off;
|
||||
|
||||
|
||||
location ~ /.well-known/acme-challenge {
|
||||
location ^~ /.well-known/acme-challenge {
|
||||
allow all;
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user