config
This commit is contained in:
parent
6f6702f6db
commit
0d06ab5bb9
@ -8,6 +8,10 @@
|
|||||||
# MASTER_PUBLIC_KEY = YE6Q6TR1EDB7FD0S68TGDZGF1P0GHJD2S0XVV8R2S62MYJ6HJ4ZG
|
# MASTER_PUBLIC_KEY = YE6Q6TR1EDB7FD0S68TGDZGF1P0GHJD2S0XVV8R2S62MYJ6HJ4ZG
|
||||||
MASTER_PUBLIC_KEY =
|
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
|
# For your terms of service and privacy policy, you should specify
|
||||||
# an Etag that must be updated whenever there are significant
|
# an Etag that must be updated whenever there are significant
|
||||||
# changes to either document. The format is up to you, what matters
|
# changes to either document. The format is up to you, what matters
|
||||||
|
7
debian/etc/taler/conf.d/exchange-system.conf
vendored
7
debian/etc/taler/conf.d/exchange-system.conf
vendored
@ -6,13 +6,6 @@
|
|||||||
@inline-secret@ exchangedb-postgres ../secrets/exchange-db.secret.conf
|
@inline-secret@ exchangedb-postgres ../secrets/exchange-db.secret.conf
|
||||||
|
|
||||||
[exchange]
|
[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.
|
# Only supported database is Postgres right now.
|
||||||
DATABASE = postgres
|
DATABASE = postgres
|
||||||
|
2
debian/exchange-conf/nginx.conf
vendored
2
debian/exchange-conf/nginx.conf
vendored
@ -1,5 +1,5 @@
|
|||||||
location /taler-exchange/ {
|
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_redirect off;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Forwarded-Host "example.com";
|
proxy_set_header X-Forwarded-Host "example.com";
|
||||||
|
Loading…
Reference in New Issue
Block a user