mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-07 17:36:29 +00:00
Update presentation.md (#787)
Added clarification on how to set a specific port number for ingress web traffic.
This commit is contained in:
parent
1b86254d71
commit
005e033b4a
@ -74,7 +74,7 @@ Ingress allow users to access the add-on web interface via the Home Assistant UI
|
||||
To add Ingress support, follow the following steps:
|
||||
|
||||
- The add-on will need to provide the web interface on port `8099`. Make sure that the add-on accepts only connections from `172.30.32.2` on that port and that the connections are treated as authenticated.
|
||||
- Update add-on configuration and set `ingress: true`. Here it is also possible to configure the Ingress port (default 8099).
|
||||
- Update add-on configuration and set `ingress: true`. Here it is also possible to configure the Ingress port by using the option `ingress_port: PORT_NUMBER` (default 8099).
|
||||
- If you need to configure the application inside your add-on with the right path and port, query the add-on info API endpoint.
|
||||
- If the application doesn't support relative paths or you can't set a base url, you can use nginx filter to replace the URL with correct path. Ingress adds a request header `X-Ingress-Path` that can be used.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user