From 3166814acf2cca34b7d2162873b99c24167f25b8 Mon Sep 17 00:00:00 2001 From: ProxySU Date: Thu, 29 Oct 2020 19:32:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BC=AA=E8=A3=85=E7=BD=91?= =?UTF-8?q?=E7=AB=99=E9=85=8D=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TemplateConfg/naive/naive_server.caddyfile | 5 ++++- TemplateConfg/ss/WebSocketTLSWeb.caddyfile | 4 +++- TemplateConfg/ss/ss_obfs_http_web_config.caddyfile | 4 +++- TemplateConfg/ss/ss_tls_caddy_config.caddyfile | 4 +++- TemplateConfg/ssr/ssr_tls.caddyfile | 4 +++- TemplateConfg/trojan-go/trojan-go.caddyfile | 4 +++- TemplateConfg/trojan/trojan.caddyfile | 4 +++- TemplateConfg/v2ray/caddy/Http2Web.caddyfile | 4 +++- TemplateConfg/v2ray/caddy/WebSocketTLSWeb.caddyfile | 4 +++- TemplateConfg/v2ray/caddy/vlessTcpTlsWeb.caddyfile | 4 +++- 10 files changed, 31 insertions(+), 10 deletions(-) diff --git a/TemplateConfg/naive/naive_server.caddyfile b/TemplateConfg/naive/naive_server.caddyfile index f26a145..188ba33 100644 --- a/TemplateConfg/naive/naive_server.caddyfile +++ b/TemplateConfg/naive/naive_server.caddyfile @@ -8,4 +8,7 @@ route { probe_resistance } file_server { root /usr/share/caddy } -} \ No newline at end of file +} +##reverse_Proxy1## +##reverse_Proxy2## +##reverse_Proxy3## \ No newline at end of file diff --git a/TemplateConfg/ss/WebSocketTLSWeb.caddyfile b/TemplateConfg/ss/WebSocketTLSWeb.caddyfile index 4bbeb1f..7c97b69 100644 --- a/TemplateConfg/ss/WebSocketTLSWeb.caddyfile +++ b/TemplateConfg/ss/WebSocketTLSWeb.caddyfile @@ -12,5 +12,7 @@ header Upgrade websocket } reverse_proxy @v2ray_websocket localhost:10000 - ##sites## + ##reverse_Proxy1## + ##reverse_Proxy2## + ##reverse_Proxy3## } \ No newline at end of file diff --git a/TemplateConfg/ss/ss_obfs_http_web_config.caddyfile b/TemplateConfg/ss/ss_obfs_http_web_config.caddyfile index b34a1c9..4ace8e0 100644 --- a/TemplateConfg/ss/ss_obfs_http_web_config.caddyfile +++ b/TemplateConfg/ss/ss_obfs_http_web_config.caddyfile @@ -1,5 +1,7 @@ :8800 { root * /usr/share/caddy file_server - ##sites## + ##reverse_Proxy1## + ##reverse_Proxy2## + ##reverse_Proxy3## } diff --git a/TemplateConfg/ss/ss_tls_caddy_config.caddyfile b/TemplateConfg/ss/ss_tls_caddy_config.caddyfile index d27ff82..d243b83 100644 --- a/TemplateConfg/ss/ss_tls_caddy_config.caddyfile +++ b/TemplateConfg/ss/ss_tls_caddy_config.caddyfile @@ -1,7 +1,9 @@ https://##domain##:8800 { root * /usr/share/caddy file_server - ##sites## + ##reverse_Proxy1## + ##reverse_Proxy2## + ##reverse_Proxy3## } ##domain##:80 { redir https://##domain##{uri} diff --git a/TemplateConfg/ssr/ssr_tls.caddyfile b/TemplateConfg/ssr/ssr_tls.caddyfile index d27ff82..d243b83 100644 --- a/TemplateConfg/ssr/ssr_tls.caddyfile +++ b/TemplateConfg/ssr/ssr_tls.caddyfile @@ -1,7 +1,9 @@ https://##domain##:8800 { root * /usr/share/caddy file_server - ##sites## + ##reverse_Proxy1## + ##reverse_Proxy2## + ##reverse_Proxy3## } ##domain##:80 { redir https://##domain##{uri} diff --git a/TemplateConfg/trojan-go/trojan-go.caddyfile b/TemplateConfg/trojan-go/trojan-go.caddyfile index 6001c60..0e9f3d2 100644 --- a/TemplateConfg/trojan-go/trojan-go.caddyfile +++ b/TemplateConfg/trojan-go/trojan-go.caddyfile @@ -1,7 +1,9 @@ :8800 { root * /usr/share/caddy file_server - ##sites## + ##reverse_Proxy1## + ##reverse_Proxy2## + ##reverse_Proxy3## } ##domain##:80 { redir https://##domain##{uri} diff --git a/TemplateConfg/trojan/trojan.caddyfile b/TemplateConfg/trojan/trojan.caddyfile index 6001c60..0e9f3d2 100644 --- a/TemplateConfg/trojan/trojan.caddyfile +++ b/TemplateConfg/trojan/trojan.caddyfile @@ -1,7 +1,9 @@ :8800 { root * /usr/share/caddy file_server - ##sites## + ##reverse_Proxy1## + ##reverse_Proxy2## + ##reverse_Proxy3## } ##domain##:80 { redir https://##domain##{uri} diff --git a/TemplateConfg/v2ray/caddy/Http2Web.caddyfile b/TemplateConfg/v2ray/caddy/Http2Web.caddyfile index 467ecb9..7e62dbc 100644 --- a/TemplateConfg/v2ray/caddy/Http2Web.caddyfile +++ b/TemplateConfg/v2ray/caddy/Http2Web.caddyfile @@ -12,5 +12,7 @@ versions h2c 2 } } - ##sites## + ##reverse_Proxy1## + ##reverse_Proxy2## + ##reverse_Proxy3## } \ No newline at end of file diff --git a/TemplateConfg/v2ray/caddy/WebSocketTLSWeb.caddyfile b/TemplateConfg/v2ray/caddy/WebSocketTLSWeb.caddyfile index 4bbeb1f..7c97b69 100644 --- a/TemplateConfg/v2ray/caddy/WebSocketTLSWeb.caddyfile +++ b/TemplateConfg/v2ray/caddy/WebSocketTLSWeb.caddyfile @@ -12,5 +12,7 @@ header Upgrade websocket } reverse_proxy @v2ray_websocket localhost:10000 - ##sites## + ##reverse_Proxy1## + ##reverse_Proxy2## + ##reverse_Proxy3## } \ No newline at end of file diff --git a/TemplateConfg/v2ray/caddy/vlessTcpTlsWeb.caddyfile b/TemplateConfg/v2ray/caddy/vlessTcpTlsWeb.caddyfile index 6001c60..0e9f3d2 100644 --- a/TemplateConfg/v2ray/caddy/vlessTcpTlsWeb.caddyfile +++ b/TemplateConfg/v2ray/caddy/vlessTcpTlsWeb.caddyfile @@ -1,7 +1,9 @@ :8800 { root * /usr/share/caddy file_server - ##sites## + ##reverse_Proxy1## + ##reverse_Proxy2## + ##reverse_Proxy3## } ##domain##:80 { redir https://##domain##{uri}