1
0
Fork 0
mirror of https://github.com/proxysu/ProxySU.git synced 2025-04-02 21:36:17 +03:00

增加伪装网站配置项

This commit is contained in:
ProxySU 2020-10-29 19:32:35 +08:00
parent 56f6f6f976
commit 3166814acf
10 changed files with 31 additions and 10 deletions

View file

@ -8,4 +8,7 @@ route {
probe_resistance probe_resistance
} }
file_server { root /usr/share/caddy } file_server { root /usr/share/caddy }
} }
##reverse_Proxy1##
##reverse_Proxy2##
##reverse_Proxy3##

View file

@ -12,5 +12,7 @@
header Upgrade websocket header Upgrade websocket
} }
reverse_proxy @v2ray_websocket localhost:10000 reverse_proxy @v2ray_websocket localhost:10000
##sites## ##reverse_Proxy1##
##reverse_Proxy2##
##reverse_Proxy3##
} }

View file

@ -1,5 +1,7 @@
:8800 { :8800 {
root * /usr/share/caddy root * /usr/share/caddy
file_server file_server
##sites## ##reverse_Proxy1##
##reverse_Proxy2##
##reverse_Proxy3##
} }

View file

@ -1,7 +1,9 @@
https://##domain##:8800 { https://##domain##:8800 {
root * /usr/share/caddy root * /usr/share/caddy
file_server file_server
##sites## ##reverse_Proxy1##
##reverse_Proxy2##
##reverse_Proxy3##
} }
##domain##:80 { ##domain##:80 {
redir https://##domain##{uri} redir https://##domain##{uri}

View file

@ -1,7 +1,9 @@
https://##domain##:8800 { https://##domain##:8800 {
root * /usr/share/caddy root * /usr/share/caddy
file_server file_server
##sites## ##reverse_Proxy1##
##reverse_Proxy2##
##reverse_Proxy3##
} }
##domain##:80 { ##domain##:80 {
redir https://##domain##{uri} redir https://##domain##{uri}

View file

@ -1,7 +1,9 @@
:8800 { :8800 {
root * /usr/share/caddy root * /usr/share/caddy
file_server file_server
##sites## ##reverse_Proxy1##
##reverse_Proxy2##
##reverse_Proxy3##
} }
##domain##:80 { ##domain##:80 {
redir https://##domain##{uri} redir https://##domain##{uri}

View file

@ -1,7 +1,9 @@
:8800 { :8800 {
root * /usr/share/caddy root * /usr/share/caddy
file_server file_server
##sites## ##reverse_Proxy1##
##reverse_Proxy2##
##reverse_Proxy3##
} }
##domain##:80 { ##domain##:80 {
redir https://##domain##{uri} redir https://##domain##{uri}

View file

@ -12,5 +12,7 @@
versions h2c 2 versions h2c 2
} }
} }
##sites## ##reverse_Proxy1##
##reverse_Proxy2##
##reverse_Proxy3##
} }

View file

@ -12,5 +12,7 @@
header Upgrade websocket header Upgrade websocket
} }
reverse_proxy @v2ray_websocket localhost:10000 reverse_proxy @v2ray_websocket localhost:10000
##sites## ##reverse_Proxy1##
##reverse_Proxy2##
##reverse_Proxy3##
} }

View file

@ -1,7 +1,9 @@
:8800 { :8800 {
root * /usr/share/caddy root * /usr/share/caddy
file_server file_server
##sites## ##reverse_Proxy1##
##reverse_Proxy2##
##reverse_Proxy3##
} }
##domain##:80 { ##domain##:80 {
redir https://##domain##{uri} redir https://##domain##{uri}