4 client_body_buffer_size 8k;
5 client_max_body_size 10m;
13 proxy_buffer_size 128k;
16 proxy_next_upstream error timeout
21 # NOTE: force timeouts if the backend dies.
22 proxy_pass http://cyclo-vote;
24 # NOTE: by default, do not forward anything
25 proxy_read_timeout 500;
26 proxy_set_header Host $host;
27 proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
28 proxy_set_header X-Forwarded-Proto https;
29 proxy_set_header X-Real-IP $remote_addr;