Add docs for the cloudflare flag (#795)

Also delete-trailing-whitespace.
This commit is contained in:
Sharif Nassar
2019-10-20 03:24:53 -07:00
committed by Pascal Vizeli
parent a980fdfa54
commit f834647518

View File

@@ -48,7 +48,8 @@ Add-on configuration:
"active": false,
"default": "nginx_proxy_default*.conf",
"servers": "nginx_proxy/*.conf"
}
},
"cloudflare": false
}
```
@@ -80,6 +81,11 @@ The filename of the NGINX configuration for the default server, found in the `/s
The filename(s) of the NGINX configuration for the additional servers, found in the `/share` directory.
### Option `cloudflare` (optional)
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.
This is so the `ip_ban_enabled` feature can be used and work correctly in /config/customize.yaml.
## Known issues and limitations
- By default, port 80 is disabled in the add-on configuration in case the port is needed for other components or add-ons like `emulated_hue`.