summaryrefslogtreecommitdiff
path: root/regional-currency/nginx-conf/exchange.taler-nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'regional-currency/nginx-conf/exchange.taler-nginx.conf')
-rw-r--r--regional-currency/nginx-conf/exchange.taler-nginx.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/regional-currency/nginx-conf/exchange.taler-nginx.conf b/regional-currency/nginx-conf/exchange.taler-nginx.conf
new file mode 100644
index 0000000..b1e9d0a
--- /dev/null
+++ b/regional-currency/nginx-conf/exchange.taler-nginx.conf
@@ -0,0 +1,16 @@
+server {
+
+ listen 80;
+ listen [::]:80;
+
+ server_name exchange.${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/exchange-httpd/exchange-http.sock;
+ }
+}