You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_cookbook/apache_configuration.markdown
+10-9
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ footer: true
10
10
ha_category: Infrastructure
11
11
---
12
12
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.
14
14
15
15
This is useful if you want to have:
16
16
@@ -20,13 +20,15 @@ This is useful if you want to have:
20
20
21
21
#### {% linkable_title Subdomain %}
22
22
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
25
24
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:
28
26
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`
30
32
31
33
```text
32
34
<VirtualHost *:443>
@@ -53,8 +55,7 @@ If you don't want HTTPS, you can change `<VirtualHost *:443>` to `<VirtualHost *
53
55
54
56
#### {% linkable_title Multiple Instance %}
55
57
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`
58
59
59
60
You want another instance available at https://countryside.example.org
60
61
@@ -70,7 +71,7 @@ http:
70
71
...
71
72
```
72
73
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
74
75
75
76
To access this instance by using https://countryside.example.org add to `/etc/httpd/conf/extra/hass.conf`
0 commit comments