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;