From 2f6be626c5443c90d9d32cdec2f9aff844b9dfcf Mon Sep 17 00:00:00 2001 From: Brad Date: Sat, 25 Feb 2017 20:34:24 +0000 Subject: [PATCH] Update site.conf Left out "upstream" and "map" blocks needed for portainer --- data/conf/nginx/site.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/data/conf/nginx/site.conf b/data/conf/nginx/site.conf index ccf4ab7c0..e0f17a35b 100644 --- a/data/conf/nginx/site.conf +++ b/data/conf/nginx/site.conf @@ -1,4 +1,14 @@ proxy_cache_path /tmp levels=1:2 keys_zone=sogo:10m inactive=24h max_size=1g; + +upstream portainer { + server portainer-mailcow:9000; +} + +map $http_upgrade $connection_upgrade { + default upgrade; + '' close; +} + server { include /etc/nginx/conf.d/listen.active; include /etc/nginx/mime.types;