Fixed error with renaming to names in template.
This commit is contained in:
parent
7196d03ec8
commit
99cbd96be6
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue