Compare commits

...

5 Commits

Author SHA1 Message Date
github-actions
092c86b781 GitHub bot: changelog 2026-03-19 19:41:49 +00:00
github-actions
bc5701d08e GitHub bot: changelog 2026-03-19 19:41:44 +00:00
github-actions
56acef7916 GitHub bot: sanitize (spaces + LF endings) & chmod 2026-03-19 19:40:25 +00:00
Alexandre
f3af043ed2 build 2026-03-19 20:39:32 +01:00
Alexandre
d1ca85f6a6 fix ingress 2026-03-19 20:03:12 +01:00
15 changed files with 14 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
## 26.3.16-6 (19-03-2026)
- Minor bugs fixed
## 26.3.16-5 (19-03-2026)
- Use embedded ingress system

View File

@@ -42,4 +42,4 @@ slug: netalertx
tmpfs: true
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "26.3.16-5"
version: "26.3.16-6"

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -2,11 +2,18 @@
# shellcheck shell=bash
set -e
# Fix ingress
sed -i "s|'/server'|''|g" /app/back/app.conf
sed -i "s|gzip on|gzip off|g" /services/config/nginx/netalertx.conf.template
sed -i "/add_header X-Forwarded-Prefix/a sub_filter '\"/server' '\"$(bashio::addon.ingress_entry)/server';" /services/config/nginx/netalertx.conf.template
sed -i "/add_header X-Forwarded-Prefix/a sub_filter_types *;" /services/config/nginx/netalertx.conf.template
sed -i "/add_header X-Forwarded-Prefix/a sub_filter_once off;" /services/config/nginx/netalertx.conf.template
####################
# Update structure #
####################
# 1. Fix the directories
for folder in /tmp/run/tmp /tmp/api /tmp/log /tmp/run /tmp/nginx/active-config "${TMP_DIR:-/tmp}" "${NETALERTX_DATA:-/data}" "${NETALERTX_DB:-/data/db}" "${NETALERTX_CONFIG:-/data/config}"; do
mkdir -p "$folder"

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -1,3 +1,5 @@
## 26.3.16-6 (19-03-2026)
- Minor bugs fixed
## 26.3.7 (2026-03-07)
- Update to latest version from jokob-sk/NetAlertX (changelog : https://github.com/jokob-sk/NetAlertX/releases)

View File

@@ -43,4 +43,4 @@ slug: netalertx_fa
tmpfs: true
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "26.3.16-5"
version: "26.3.16-6"

View File

@@ -1 +0,0 @@
netalertx