0
0

Removed Proxitok

This commit is contained in:
Opnxng 2024-09-16 09:40:24 +08:00
parent aa46931830
commit aa527bd068
2 changed files with 29 additions and 26 deletions

View File

@ -155,6 +155,11 @@
redir https://opnxng.com{uri} redir https://opnxng.com{uri}
} }
@tt host tt.{$HOSTNAME}
handle @tt {
redir https://about.opnxng.com/blog/#proxitok
}
@yt host yt.{$HOSTNAME} @yt host yt.{$HOSTNAME}
handle @yt { handle @yt {
redir https://about.opnxng.com/blog/#cloudtube redir https://about.opnxng.com/blog/#cloudtube
@ -566,24 +571,24 @@
} }
} }
@tt host tt.{$HOSTNAME} # @tt host tt.{$HOSTNAME}
handle @tt { # handle @tt {
encode zstd gzip # encode zstd gzip
reverse_proxy { # reverse_proxy {
to {{ oracle1_private_ip }}:8909 # to {{ oracle1_private_ip }}:8909
to {{ oracle2_private_ip }}:8909 # to {{ oracle2_private_ip }}:8909
to {{ oracle3_private_ip }}:8909 # to {{ oracle3_private_ip }}:8909
to {{ oracle4_private_ip }}:8909 # to {{ oracle4_private_ip }}:8909
lb_policy ip_hash # lb_policy ip_hash
lb_try_duration 5s # lb_try_duration 5s
lb_try_interval 1s # lb_try_interval 1s
fail_duration 30s # fail_duration 30s
max_fails 3 # max_fails 3
} # }
header { # header {
X-Robots-Tag "noindex, noimageindex, nosnippet, notranslate, noarchive, nofollow" # X-Robots-Tag "noindex, noimageindex, nosnippet, notranslate, noarchive, nofollow"
} # }
} # }
@ti host ti.{$HOSTNAME} @ti host ti.{$HOSTNAME}
handle @ti { handle @ti {

View File

@ -1,12 +1,10 @@
compose: config:
oracle1:
- photon
oracle2:
- photon
oracle3:
- photon
oracle4: oracle4:
- photon - caddy
compose:
oracle4:
- caddy
# ---------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------