mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
nginx proxy config updates (#4828)
* nginx_proxy: Document certfile and keyfile config vars * nginx_proxy: Document customize variables
This commit is contained in:
parent
1b266b18a4
commit
f73376a4da
@ -15,13 +15,23 @@ In the `http` section of the `configuration.yaml` file remove `ssl_certificate`
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"domain": "home.example.com"
|
"domain": "home.example.com",
|
||||||
|
"certfile": "fullchain.pem",
|
||||||
|
"keyfile": "privkey.pem",
|
||||||
|
"customize": {
|
||||||
|
"active": false,
|
||||||
|
"default": "nginx_proxy_default*.conf",
|
||||||
|
"servers": "nginx_proxy/*.conf"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **domain** (*Required*): Domain they will proxy run with it.
|
- **domain** (*Required*): Domain they will proxy run with it.
|
||||||
|
- **certfile** (*Required*): Certificate file to use in the /ssl dir.
|
||||||
|
- **keyfile** (*Required*): Private key file to use in the /ssl dir.
|
||||||
|
- **customize** (*Optional*): If true, additional NGINX configuration files for the default server and additional servers are read from files in the /share dir specified by the `default` and `servers` variables.
|
||||||
|
|
||||||
<p class='note'>
|
<p class='note'>
|
||||||
It is possible to deactivate port 80 if you need this for things like `emulate_hue`. Remove the host port from Network option of this add-on.
|
It is possible to deactivate port 80 if you need this for things like `emulate_hue`. Remove the host port from Network option of this add-on.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user