mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 22:34:11 +02:00
Adjust forwarded allow IPs option visibility
This commit is contained in:
@@ -1,6 +1,12 @@
|
|||||||
- The Home Assistant project has deprecated support for the armv7, armhf and i386 architectures. Support wil be fully dropped in the upcoming Home Assistant 2025.12 release
|
- The Home Assistant project has deprecated support for the armv7, armhf and i386 architectures. Support wil be fully dropped in the upcoming Home Assistant 2025.12 release
|
||||||
|
|
||||||
|
|
||||||
|
## v3.5.2 (06-12-2025)
|
||||||
|
- Document `FORWARDED_ALLOW_IPS` as an advanced option without exposing it in the default options tab
|
||||||
|
|
||||||
|
## v3.5.1 (06-12-2025)
|
||||||
|
- Allow configuring Gunicorn's `--forwarded-allow-ips` value to support OIDC behind reverse proxies
|
||||||
|
|
||||||
## v3.5.0 (15-11-2025)
|
## v3.5.0 (15-11-2025)
|
||||||
- Update to latest version from mealie-recipes/mealie (changelog : https://github.com/mealie-recipes/mealie/releases)
|
- Update to latest version from mealie-recipes/mealie (changelog : https://github.com/mealie-recipes/mealie/releases)
|
||||||
- Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
|
- Added support for configuring extra environment variables via the `env_vars` add-on option alongside config.yaml. See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon-2 for details.
|
||||||
|
|||||||
@@ -58,6 +58,8 @@ Configurations can be done through the app webUI, except for the following optio
|
|||||||
| `DATA_DIR` | str | `/config` | Data directory path |
|
| `DATA_DIR` | str | `/config` | Data directory path |
|
||||||
| `ALLOW_SIGNUP` | bool | `true` | Allow new user signup |
|
| `ALLOW_SIGNUP` | bool | `true` | Allow new user signup |
|
||||||
|
|
||||||
|
To configure Gunicorn's `--forwarded-allow-ips` setting for trusted reverse proxies, manually add a `FORWARDED_ALLOW_IPS` entry to your add-on configuration (comma-separated IPs). It is optional and hidden from the default options tab.
|
||||||
|
|
||||||
### Example Configuration
|
### Example Configuration
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ schema:
|
|||||||
- name: match(^[A-Za-z0-9_]+$)
|
- name: match(^[A-Za-z0-9_]+$)
|
||||||
value: str?
|
value: str?
|
||||||
ALLOW_SIGNUP: bool
|
ALLOW_SIGNUP: bool
|
||||||
|
FORWARDED_ALLOW_IPS: str?
|
||||||
BASE_URL: str?
|
BASE_URL: str?
|
||||||
DATA_DIR: str?
|
DATA_DIR: str?
|
||||||
PGID: int
|
PGID: int
|
||||||
@@ -113,4 +114,4 @@ schema:
|
|||||||
slug: mealie
|
slug: mealie
|
||||||
udev: true
|
udev: true
|
||||||
url: https://github.com/alexbelgium/hassio-addons
|
url: https://github.com/alexbelgium/hassio-addons
|
||||||
version: "v3.5.0"
|
version: "v3.5.2"
|
||||||
|
|||||||
@@ -63,6 +63,11 @@ cd "$DATA_DIR" || true
|
|||||||
chown -R "$(bashio::config "PUID"):$(bashio::config "PGID")" .
|
chown -R "$(bashio::config "PUID"):$(bashio::config "PGID")" .
|
||||||
echo "Permissions adapted"
|
echo "Permissions adapted"
|
||||||
|
|
||||||
|
if bashio::config.has_value "FORWARDED_ALLOW_IPS"; then
|
||||||
|
export FORWARDED_ALLOW_IPS="$(bashio::config "FORWARDED_ALLOW_IPS")"
|
||||||
|
bashio::log.info "Configured FORWARDED_ALLOW_IPS for Gunicorn"
|
||||||
|
fi
|
||||||
|
|
||||||
bashio::log.info "Starting nginx"
|
bashio::log.info "Starting nginx"
|
||||||
nginx & true
|
nginx & true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user