0
0

Moved Redlib to AMD64

This commit is contained in:
Opnxng 2024-03-29 10:02:51 +08:00
parent b941e89a4c
commit 5c844bdaef
2 changed files with 14 additions and 12 deletions

View File

@ -3,7 +3,8 @@ version: '3.7'
services:
redlib:
container_name: redlib
image: quay.io/redlib/redlib:latest-arm
image: quay.io/redlib/redlib:latest
#image: quay.io/redlib/redlib:latest-arm
security_opt:
#- seccomp="seccomp-redlib.json"
- no-new-privileges

View File

@ -145,17 +145,18 @@
@l host l.{$HOSTNAME}
handle @l {
encode zstd gzip
reverse_proxy {
to {{ oracle1_private_ip }}:8882
to {{ oracle2_private_ip }}:8882
to {{ oracle3_private_ip }}:8882
to {{ oracle4_private_ip }}:8882
lb_policy ip_hash
lb_try_duration 5s
lb_try_interval 1s
fail_duration 30s
max_fails 3
}
reverse_proxy {{ vultr_private_ip }}:8882
# reverse_proxy {
# to {{ oracle1_private_ip }}:8882
# to {{ oracle2_private_ip }}:8882
# to {{ oracle3_private_ip }}:8882
# to {{ oracle4_private_ip }}:8882
# lb_policy ip_hash
# lb_try_duration 5s
# lb_try_interval 1s
# fail_duration 30s
# max_fails 3
# }
header {
Content-Security-Policy "default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"
X-Robots-Tag "noindex, noimageindex, nosnippet, notranslate, noarchive, nofollow"