taler-deployment

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

commit d13ba28bd480075bf07c3f37a696b5163369d512
parent e1b0e5a387b49731f62be0224519644708c4267f
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Wed,  4 Jan 2017 13:11:16 +0100

conf dockerized nginx

Diffstat:
Mdocker/nginx/Dockerfile | 2++
Adocker/nginx/nginx.conf | 33+++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/docker/nginx/Dockerfile b/docker/nginx/Dockerfile @@ -1,3 +1,5 @@ FROM nginx COPY ./proxy.conf /etc/nginx/sites-enabled/ + +COPY ./nginx.conf /etc/nginx/ diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf @@ -0,0 +1,33 @@ + +user nginx; +worker_processes 1; + +error_log /var/log/nginx/error.log warn; +pid /var/run/nginx.pid; + + +events { + worker_connections 1024; +} + + +http { + include /etc/nginx/mime.types; + default_type application/octet-stream; + + log_format main '$remote_addr - $remote_user [$time_local] "$request" ' + '$status $body_bytes_sent "$http_referer" ' + '"$http_user_agent" "$http_x_forwarded_for"'; + + access_log /var/log/nginx/access.log main; + + sendfile on; + #tcp_nopush on; + + keepalive_timeout 65; + + #gzip on; + + include /etc/nginx/conf.d/*.conf; + include /etc/nginx/sites-enabled/*; +}