aboutsummaryrefslogtreecommitdiff
path: root/netzbon/nginx-conf/bank.taler-nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'netzbon/nginx-conf/bank.taler-nginx.conf')
-rw-r--r--netzbon/nginx-conf/bank.taler-nginx.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/netzbon/nginx-conf/bank.taler-nginx.conf b/netzbon/nginx-conf/bank.taler-nginx.conf
new file mode 100644
index 0000000..a9f8059
--- /dev/null
+++ b/netzbon/nginx-conf/bank.taler-nginx.conf
@@ -0,0 +1,23 @@
+server {
+ listen 80;
+ listen [::]:80;
+
+ server_name bank.${DOMAIN_NAME};
+
+ access_log /var/log/nginx/libeufin-sandbox.log;
+ error_log /var/log/nginx/libeufin-sandbox.err;
+
+ location /demobanks/default {
+ proxy_pass http://localhost:5016;
+ }
+
+ location / {
+ index index.html;
+ alias /usr/share/libeufin/demobank-ui/;
+ }
+
+ location = /demobank-ui-settings.js {
+ alias /etc/libeufin/demobank-ui-settings.js;
+ }
+
+}