From 99cbd96be63664d40c303b7bdd9921b715e7f506 Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Sun, 3 Apr 2016 12:23:38 +0200 Subject: [PATCH] Fixed error with renaming to names in template. --- nginx_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx_proxy.py b/nginx_proxy.py index 1fda14b..7d9db70 100755 --- a/nginx_proxy.py +++ b/nginx_proxy.py @@ -13,7 +13,7 @@ pid_file="/var/run/nginx.pid" non_location_template = """# proxy for container '$containername' server { listen $listen; - server_name $name; + server_name $names; location / { proxy_set_header X-Real-IP $$remote_addr; proxy_set_header X-Forwarded-For $$remote_addr;