diff --git a/docker-compose.yml b/docker-compose.yml index 393fee8..deac6e8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -36,7 +36,7 @@ services: - ./i2pd_data:/home/i2pd/data ports: - "127.0.0.1:7070:7070/tcp" - - "51023:51023/tcp" + - "51023:51023" companion: <<: *common-elements diff --git a/haproxy.cfg b/haproxy.cfg index a3c7100..29f4e90 100644 --- a/haproxy.cfg +++ b/haproxy.cfg @@ -48,18 +48,19 @@ frontend www #http-after-response add-header alt-svc 'h3=":443"; ma=900' # HAPROXY_EXVPP_HOST: The external video playback host - acl c hdr(host) -i "$COMPANION_HOST" - acl cc hdr(host) -i "$COMPANION_HOST":8443 - acl h hdr(host) -i "$EXVPP_HOST" - acl hh hdr(host) -i "$EXVPP_HOST":8443 + # acl c hdr(host) -i "$COMPANION_HOST" + # acl cc hdr(host) -i "$COMPANION_HOST":8443 + # acl h hdr(host) -i "$EXVPP_HOST" + # acl hh hdr(host) -i "$EXVPP_HOST":8443 - http-request set-bandwidth-limit video-streaming if h || hh + http-request set-bandwidth-limit video-streaming acl health_check path /health http-request return status 200 if health_check - use_backend http3-ytproxy if h || hh - use_backend companion if c || cc + # use_backend http3-ytproxy if h || hh + # use_backend companion if c || cc + default_backend companion backend http3-ytproxy server s1 unix@/tmp/http-ytproxy.sock