From 0d06ab5bb990775f95dfb4678655d2cf9ab2b26f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 29 Jul 2021 19:36:51 +0200 Subject: config --- debian/etc/taler/conf.d/exchange-business.conf | 4 ++++ debian/etc/taler/conf.d/exchange-system.conf | 7 ------- debian/exchange-conf/nginx.conf | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) (limited to 'debian') diff --git a/debian/etc/taler/conf.d/exchange-business.conf b/debian/etc/taler/conf.d/exchange-business.conf index ecd010da1..92d968f4d 100644 --- a/debian/etc/taler/conf.d/exchange-business.conf +++ b/debian/etc/taler/conf.d/exchange-business.conf @@ -8,6 +8,10 @@ # MASTER_PUBLIC_KEY = YE6Q6TR1EDB7FD0S68TGDZGF1P0GHJD2S0XVV8R2S62MYJ6HJ4ZG MASTER_PUBLIC_KEY = +# Publicly visible base URL of the exchange. +# BASE_URL = https://example.com/ +BASE_URL = + # For your terms of service and privacy policy, you should specify # an Etag that must be updated whenever there are significant # changes to either document. The format is up to you, what matters diff --git a/debian/etc/taler/conf.d/exchange-system.conf b/debian/etc/taler/conf.d/exchange-system.conf index 6df381eef..7fb65d983 100644 --- a/debian/etc/taler/conf.d/exchange-system.conf +++ b/debian/etc/taler/conf.d/exchange-system.conf @@ -6,13 +6,6 @@ @inline-secret@ exchangedb-postgres ../secrets/exchange-db.secret.conf [exchange] -# Debian package is configured to use a reverse proxy with a UNIX -# domain socket. See nginx/apache configuration files. -# -# FIXME: This should be set to something like "NONE" -# since systemd creates the socket for us. -SERVE = UNIX -UNIXPATH = /var/lib/taler-exchange/exchange.sock # Only supported database is Postgres right now. DATABASE = postgres diff --git a/debian/exchange-conf/nginx.conf b/debian/exchange-conf/nginx.conf index 2921c9998..6737d9129 100644 --- a/debian/exchange-conf/nginx.conf +++ b/debian/exchange-conf/nginx.conf @@ -1,7 +1,7 @@ location /taler-exchange/ { - proxy_pass http://unix:/var/lib/taler-exchange/exchange.sock; + 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"; -} \ No newline at end of file +} -- cgit v1.2.3