Update nginx_proxy.markdown (#7115)

* Update nginx_proxy.markdown

* Minor changes
This commit is contained in:
Hmmbob 2018-10-26 13:35:07 +02:00 committed by Fabian Affolter
parent 83f53e34ab
commit 3bd160cbe8

View File

@ -27,13 +27,29 @@ In the `http` section of the `configuration.yaml` file remove `ssl_certificate`
} }
``` ```
Configuration variables: {% configuration %}
domain:
- **domain** (*Required*): Domain they will proxy run with it. description: The Domain to use for the proxy.
- **certfile** (*Required*): Certificate file to use in the /ssl dir. required: true
- **keyfile** (*Required*): Private key file to use in the /ssl dir. type: string
- **hsts** (*Optional*): Value for the [`Strict-Transport-Security`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) HTTP header to send. If empty or `null`, the header is not sent. certfile:
- **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. description: The certificate file to use in the `/ssl` directory.
required: true
type: string
keyfile:
description: Private key file to use in the `/ssl` directory.
required: true
type: string
hsts:
description: Value for the [`Strict-Transport-Security`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) HTTP header to send. If empty or `null`, the header is not sent.
required: false
type: string
customize:
description: If true, additional NGINX configuration files for the default server and additional servers are read from files in the `/share` directory specified by the `default` and `servers` variables.
required: false
type: boolean
default: false
{% endconfiguration %}
<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.