From 273bcb7059fdfd58010287af62e7d40d98f26a05 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 13 Feb 2017 13:00:48 +0100 Subject: [PATCH] Update wstunnel part --- .../_cookbook/apache_configuration.markdown | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/source/_cookbook/apache_configuration.markdown b/source/_cookbook/apache_configuration.markdown index 02bc83aeb35..65e6364bc2f 100644 --- a/source/_cookbook/apache_configuration.markdown +++ b/source/_cookbook/apache_configuration.markdown @@ -10,7 +10,7 @@ footer: true ha_category: Infrastructure --- -This example demonstrates how you can configure Apache to act as a proxy for home assistant. +This example demonstrates how you can configure Apache to act as a proxy for Home Assistant. This is useful if you want to have: @@ -20,13 +20,15 @@ This is useful if you want to have: #### {% linkable_title Subdomain %} -So you already have a working Apache server available at example.org. -Your home assistant is correctly working on this web server and available at localhost:8123 +So you already have a working Apache server available at example.org. Your Home Assistant is correctly working on this web server and available at http://localhost:8123 -Enable `mod_proxy_wstunnel` by running: -`sudo a2enmod proxy_wstunnel` +Enable [`mod_proxy_wstunnel`]((https://httpd.apache.org/docs/2.4/mod/mod_proxy_wstunnel.htm) by running if you encounter issues while serving Home Assistant through your proxy: -To be able to access to your home assistant instance by using https://home.example.org, add to following file into `/etc/httpd/conf/extra/hass.conf` +```bash +$ sudo a2enmod proxy_wstunnel +``` + +To be able to access to your Home Assistant instance by using https://home.example.org, add to following file to `/etc/httpd/conf/extra/` as `hass.conf` ```text @@ -53,8 +55,7 @@ If you don't want HTTPS, you can change `` to `