taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit e1b0e5a387b49731f62be0224519644708c4267f
parent e559620fbb9bfbb9d61ca749a01b42f7c35a7b5d
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Wed,  4 Jan 2017 12:37:34 +0100

dockerizing nginx

Diffstat:
Adocker/nginx/Dockerfile | 3+++
Adocker/nginx/proxy.conf | 16++++++++++++++++
2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/docker/nginx/Dockerfile b/docker/nginx/Dockerfile @@ -0,0 +1,3 @@ +FROM nginx + +COPY ./proxy.conf /etc/nginx/sites-enabled/ diff --git a/docker/nginx/proxy.conf b/docker/nginx/proxy.conf @@ -0,0 +1,16 @@ +server { + listen 80; + root /dev/null; + + location / { + autoindex off; + proxy_pass http://exchange:8081 + } + + location /admin { + autoindex off; + proxy_pass http://exchange:18080 + } + + include conf.d/favicon_robots; +}