From e3a8e56a7edde3e206e0a4b671679be52ed84159 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 19 Jan 2016 21:27:44 +0100 Subject: [PATCH] Add server_port and update description --- source/_components/http.markdown | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/source/_components/http.markdown b/source/_components/http.markdown index a098ebe8112..f0876ff711d 100644 --- a/source/_components/http.markdown +++ b/source/_components/http.markdown @@ -11,16 +11,23 @@ logo: http.png ha_category: "Other" --- -The HTTP component serves all files and data required for the Home Assistant frontend. You only need to add this to your configuration file if you want to change any of the default settings. +The `http` component serves all files and data required for the Home Assistant frontend. You only need to add this to your configuration file if you want to change any of the default settings. ```yaml # Example configuration.yaml entry http: - # Optional, protect Home Assistant with a password - api_password: XXX - # Optional, disable caching and load unvulcanized assets + api_password: YOUR_PASSWORD + server_port: 12345 development: 1 - # Optional, serve Home Assistant over a secure connection ssl_certificate: /etc/letsencrypt/live/hass.example.com/fullchain.pem ssl_key: /etc/letsencrypt/live/hass.example.com/privkey.pem ``` + +Configuration variables: + +- **api_password** (*Optional*): Protect Home Assistant with a password +- **server_port** (*Optional*): Let you set a port to use. Defaults to 8123. +- **development** (*Optional*): Disable caching and load unvulcanized assets. Useful for Frontend development. +- **ssl_certificate** (*Optional*): Path to your TLS/SSL certificate to serve Home Assistant over a secure connection. +- **ssl_key** (*Optional*): Path to your TLS/SSL key to serve Home Assistant over a secure connection. +