Fixed error with renaming to names in template.

This commit is contained in:
Joachim Lusiardi 2016-04-03 12:23:38 +02:00
parent 7196d03ec8
commit 99cbd96be6
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ pid_file="/var/run/nginx.pid"
non_location_template = """# proxy for container '$containername' non_location_template = """# proxy for container '$containername'
server { server {
listen $listen; listen $listen;
server_name $name; server_name $names;
location / { location / {
proxy_set_header X-Real-IP $$remote_addr; proxy_set_header X-Real-IP $$remote_addr;
proxy_set_header X-Forwarded-For $$remote_addr; proxy_set_header X-Forwarded-For $$remote_addr;