taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

backend.taler-nginx.conf (479B)


      1 server {
      2 
      3   listen 80;
      4   listen [::]:80;
      5 
      6   server_name backend.${DOMAIN_NAME};
      7 
      8   # Bigger than default timeout to support long polling
      9   proxy_read_timeout 6500s;
     10   keepalive_requests 1000000;
     11   keepalive_timeout 6500s;
     12 
     13   location / {
     14     proxy_pass http://unix:/var/run/taler-merchant/httpd/merchant-http.sock;
     15     proxy_set_header X-Forwarded-Proto "${PROTO}";
     16     proxy_set_header X-Forwarded-Host "backend.${DOMAIN_NAME}";
     17     proxy_set_header X-Forwarded-Prefix /;
     18   }
     19 }