aboutsummaryrefslogtreecommitdiff
path: root/debian/etc-taler-exchange
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-07-30 15:52:34 +0200
committerFlorian Dold <florian@dold.me>2021-07-30 15:52:40 +0200
commit625897d8b34fbd342171b17b3d09f7c965b33d05 (patch)
treea0d8b621f2aaa3032e33dad59bee6db6868db574 /debian/etc-taler-exchange
parentc0d4a35a515b07733e4ba523a910cb41f8dce9af (diff)
better sample nginx config
Diffstat (limited to 'debian/etc-taler-exchange')
-rw-r--r--debian/etc-taler-exchange/nginx/sites-available/taler-exchange19
1 files changed, 13 insertions, 6 deletions
diff --git a/debian/etc-taler-exchange/nginx/sites-available/taler-exchange b/debian/etc-taler-exchange/nginx/sites-available/taler-exchange
index 6737d9129..8e7dcbb2e 100644
--- a/debian/etc-taler-exchange/nginx/sites-available/taler-exchange
+++ b/debian/etc-taler-exchange/nginx/sites-available/taler-exchange
@@ -1,7 +1,14 @@
-location /taler-exchange/ {
- proxy_pass http://unix:/run/taler/exchange/exchange-http.sock;
- proxy_redirect off;
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-Host "example.com";
- proxy_set_header X-Forwarded-Proto "https";
+server {
+ listen 80;
+ listen [::]:80;
+
+ #server_name example.com
+
+ location /taler-exchange/ {
+ proxy_pass http://unix:/run/taler/exchange/exchange-http.sock;
+ proxy_redirect off;
+ proxy_set_header Host $host;
+ #proxy_set_header X-Forwarded-Host "example.com";
+ #proxy_set_header X-Forwarded-Proto "https";
+ }
}