taler-rust

GNU Taler code in Rust. Largely core banking integrations.
Log | Files | Refs | Submodules | README | LICENSE

taler-magnet-bank (794B)


      1 server {
      2   # NOTE:
      3   # - urgently consider configuring TLS instead
      4   # - maybe keep a forwarder from HTTP to HTTPS
      5   listen 80;
      6 
      7   # NOTE:
      8   # - Comment out this line if you have no IPv6
      9   listen [::]:80;
     10 
     11   # NOTE:
     12   # - replace with your actual server name
     13   server_name localhost;
     14 
     15   access_log /var/log/nginx/taler-magnet-bank.log;
     16   error_log /var/log/nginx/taler-magnet-bank.err;
     17   
     18   location /taler-magnet-bank/ {
     19     proxy_pass http://unix:/var/run/taler-magnet-bank/httpd/magnet-bank-http.sock:/;
     20     proxy_redirect off;
     21     proxy_set_header Host $host;
     22 
     23     # NOTE:
     24     # - put your actual DNS name here
     25     proxy_set_header X-Forwarded-Host "localhost";
     26 
     27     # NOTE:
     28     # - uncomment the following line if you are using HTTPS
     29     # proxy_set_header X-Forwarded-Proto "https";
     30   }
     31 }