mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
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:
parent
4f0f3e289e
commit
1518447766
@ -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'>
|
||||
|
Loading…
x
Reference in New Issue
Block a user