Реализовать S3-вложения и reconciler
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
events {}
|
||||
|
||||
http {
|
||||
upstream api_backend {
|
||||
server api-1:8080 max_fails=2 fail_timeout=3s;
|
||||
server api-2:8080 max_fails=2 fail_timeout=3s;
|
||||
server api-3:8080 max_fails=2 fail_timeout=3s;
|
||||
server api-4:8080 max_fails=2 fail_timeout=3s;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
client_max_body_size 11m;
|
||||
|
||||
location / {
|
||||
proxy_pass http://api_backend;
|
||||
proxy_next_upstream error timeout http_502 http_503 http_504;
|
||||
proxy_connect_timeout 1s;
|
||||
proxy_read_timeout 5s;
|
||||
proxy_send_timeout 5s;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user