Добавил загрузку картинок в S3 и проверку доступа к вложениям

This commit is contained in:
2026-11-17 13:19:43 +03:00
parent ec540a1a72
commit 372471ae58
35 changed files with 2004 additions and 19 deletions
+39
View File
@@ -0,0 +1,39 @@
global
log stdout format raw local0
maxconn 512
stats socket ipv4@0.0.0.0:9999 level admin
defaults
mode http
log global
option httplog
option http-server-close
timeout connect 1s
timeout client 40s
timeout server 40s
timeout http-request 5s
timeout check 1s
retries 0
resolvers docker
nameserver embedded 127.0.0.11:53
resolve_retries 2
timeout resolve 1s
timeout retry 1s
hold valid 1s
hold obsolete 1s
hold nx 1s
hold timeout 1s
hold refused 1s
frontend public
bind :8080
default_backend messenger
backend messenger
balance roundrobin
option httpchk
http-check send meth GET uri /health/ready ver HTTP/1.1 hdr Host api
http-check expect status 200
default-server inter 1s fastinter 500ms downinter 1s fall 2 rise 1
server-template api 8 api:8080 check resolvers docker init-addr none resolve-prefer ipv4