nginx_proxy: Add documentation for cloudflare flag (#10857)

Partial fix for: https://github.com/home-assistant/hassio-addons/issues/776
See also: https://github.com/home-assistant/hassio-addons/pull/795
This commit is contained in:
Sharif Nassar 2019-10-20 03:53:56 -07:00 committed by Franck Nijhof
parent 4f0f3e289e
commit 1518447766

View File

@ -17,7 +17,8 @@ In the `http` section of the `configuration.yaml` file remove `ssl_certificate`,
"active": false,
"default": "nginx_proxy_default*.conf",
"servers": "nginx_proxy/*.conf"
}
},
"cloudflare": false
}
```
@ -43,6 +44,11 @@ customize:
required: false
type: boolean
default: false
cloudflare:
description: If enabled, configure Nginx with a list of IP addresses directly from Cloudflare that will be used for `set_real_ip_from` directive Nginx config.
required: false
type: boolean
default: false
{% endconfiguration %}
<div class='note'>