diff options
author | Antoine A <> | 2024-03-25 17:52:04 +0100 |
---|---|---|
committer | Antoine A <> | 2024-03-25 17:52:04 +0100 |
commit | 56174c4dc7f0b8b3ec02fc165e473fd489ac66b2 (patch) | |
tree | 13ae8b6f01e356836d03bcbea32ce5e1b9f59753 /regional-currency/nginx-conf/backend.taler-nginx.conf | |
parent | 24316915c897685319920d3d0ffa527c0ef0b89d (diff) | |
download | deployment-56174c4dc7f0b8b3ec02fc165e473fd489ac66b2.tar.gz deployment-56174c4dc7f0b8b3ec02fc165e473fd489ac66b2.tar.bz2 deployment-56174c4dc7f0b8b3ec02fc165e473fd489ac66b2.zip |
regio: fix nginx config disrupting long polling
Diffstat (limited to 'regional-currency/nginx-conf/backend.taler-nginx.conf')
-rw-r--r-- | regional-currency/nginx-conf/backend.taler-nginx.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/regional-currency/nginx-conf/backend.taler-nginx.conf b/regional-currency/nginx-conf/backend.taler-nginx.conf index 3e20704..ea267df 100644 --- a/regional-currency/nginx-conf/backend.taler-nginx.conf +++ b/regional-currency/nginx-conf/backend.taler-nginx.conf @@ -5,6 +5,11 @@ server { server_name backend.${DOMAIN_NAME}; + # Bigger than default timeout to support long polling + proxy_read_timeout 6500s; + keepalive_requests 1000000; + keepalive_timeout 6500s; + location / { proxy_pass http://unix:/var/run/taler/merchant-httpd/merchant-http.sock; proxy_set_header X-Forwarded-Proto "${PROTO}"; |