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

View File

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