Skip to content

Commit 273bcb7

Browse files
committed
Update wstunnel part
1 parent b73af61 commit 273bcb7

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

source/_cookbook/apache_configuration.markdown

+10-9
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ footer: true
1010
ha_category: Infrastructure
1111
---
1212

13-
This example demonstrates how you can configure Apache to act as a proxy for home assistant.
13+
This example demonstrates how you can configure Apache to act as a proxy for Home Assistant.
1414

1515
This is useful if you want to have:
1616

@@ -20,13 +20,15 @@ This is useful if you want to have:
2020

2121
#### {% linkable_title Subdomain %}
2222

23-
So you already have a working Apache server available at example.org.
24-
Your home assistant is correctly working on this web server and available at localhost:8123
23+
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
2524

26-
Enable `mod_proxy_wstunnel` by running:
27-
`sudo a2enmod proxy_wstunnel`
25+
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:
2826

29-
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`
27+
```bash
28+
$ sudo a2enmod proxy_wstunnel
29+
```
30+
31+
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`
3032

3133
```text
3234
<VirtualHost *:443>
@@ -53,8 +55,7 @@ If you don't want HTTPS, you can change `<VirtualHost *:443>` to `<VirtualHost *
5355

5456
#### {% linkable_title Multiple Instance %}
5557

56-
You already have home assistant running on localhost:8123 and available at home.example.org as describe before.
57-
The configuration file for this home assistant is available in `/home/alice/.homeassistant/configuration.yaml`
58+
You already have Home Assistant running on http://localhost:8123 and available at home.example.org as describe before. The configuration file for this Home Assistant is available in `/home/alice/.homeassistant/configuration.yaml`
5859

5960
You want another instance available at https://countryside.example.org
6061

@@ -70,7 +71,7 @@ http:
7071
...
7172
```
7273

73-
Start home assistant: Now, you have another instance running on localhost:8124
74+
Start Home Assistant: Now, you have another instance running on http://localhost:8124
7475

7576
To access this instance by using https://countryside.example.org add to `/etc/httpd/conf/extra/hass.conf`
7677

0 commit comments

Comments
 (0)