Compare commits

...

7 Commits

Author SHA1 Message Date
Eric Nemchik 41730c3d83 Merge branch 'master' into replace-http_host 2026-08-25 18:26:49 -04:00
LinuxServer-CI 671b9697be Bot Updating Package Versions 2026-08-22 03:46:57 +00:00
Eric Nemchik aa0d432ef2 Merge branch 'master' into replace-http_host 2026-08-16 12:51:37 -05:00
Eric Nemchik 0150bc76d3 Merge branch 'master' into replace-http_host 2026-08-16 10:08:36 -05:00
Eric Nemchik a2509cc44e Update Nginx configuration to use $is_request_port and $request_port for improved compatibility
Signed-off-by: Eric Nemchik <eric@nemchik.com>
2026-07-18 13:42:25 -05:00
Eric Nemchik a393925f44 Update dates in files to version 2026/07/18
Signed-off-by: Eric Nemchik <eric@nemchik.com>
2026-07-18 12:30:42 -05:00
Eric Nemchik 69afc4de58 Update Nginx configuration to replace $http_host with $host:$server_port for better compatibility
Signed-off-by: Eric Nemchik <eric@nemchik.com>
2026-07-18 12:28:50 -05:00
5 changed files with 21 additions and 21 deletions
+8 -8
View File
@@ -23,8 +23,8 @@ azure-mgmt-dns 9.0.0 python
backports-tarfile 1.2.0 python
bash 5.3.9-r1 apk
beautifulsoup4 4.15.0 python
boto3 1.43.72 python
botocore 1.43.72 python
boto3 1.43.78 python
botocore 1.43.78 python
brotli-libs 1.2.0-r1 apk
bs4 0.0.2 python
busybox 1.37.0-r31 apk
@@ -122,7 +122,7 @@ gnupg-utils 2.4.9-r1 apk
gnupg-wks-client 2.4.9-r1 apk
gnutls 3.8.13-r0 apk
google-api-core 2.30.3 python
google-api-python-client 2.198.0 python
google-api-python-client 2.199.0 python
google-auth 2.56.3 python
google-auth-httplib2 0.4.1 python
googleapis-common-protos 1.75.1 python
@@ -171,7 +171,7 @@ libcurl 8.21.0-r0 apk
libdav1d 1.5.3-r0 apk
libedit 20260508.3.1-r1 apk
libevent 2.1.13-r0 apk
libexpat 2.8.2-r0 apk
libexpat 2.8.3-r0 apk
libffi 3.5.2-r1 apk
libgcc 15.2.0-r5 apk
libgcrypt 1.12.2-r0 apk
@@ -222,7 +222,7 @@ libzip 1.11.4-r2 apk
linux-pam 1.7.1-r2 apk
logrotate 3.22.0-r0 apk
loopialib 0.2.0 python
lxml 6.1.1 python
lxml 6.1.2 python
lz4-libs 1.10.0-r1 apk
markupsafe 3.0.3 python
memcached 1.6.42-r0 apk
@@ -322,7 +322,7 @@ platformdirs 4.2.2 python
popt 1.19-r4 apk
procps-ng 4.0.6-r0 apk
proto-plus 1.28.3 python
protobuf 7.35.1 python
protobuf 7.36.0 python
pyacmedns 0.4 python
pyasn1 0.6.4 python
pyasn1-modules 0.4.2 python
@@ -358,7 +358,7 @@ six 1.16.0 python
skalibs-libs 2.15.0.0-r0 apk
sniffio 1.3.1 python
soupsieve 2.9.2 python
sqlite-libs 3.53.2-r0 apk
sqlite-libs 3.53.4-r0 apk
ssl_client 1.37.0-r31 apk
tiff 4.7.1-r0 apk
tldextract 5.3.2 python
@@ -378,5 +378,5 @@ whois 5.6.6-r0 apk
xz-libs 5.8.3-r0 apk
zipp 3.19.2 python
zlib 1.3.2-r0 apk
zope-interface 8.5 python
zope-interface 8.6 python
zstd-libs 1.5.7-r2 apk
@@ -1,4 +1,4 @@
## Version 2025/03/25 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/authelia-server.conf.sample
## Version 2026/07/18 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/authelia-server.conf.sample
# Make sure that your authelia container is in the same user defined bridge network and is named authelia
# Rename /config/nginx/proxy-confs/authelia.subdomain.conf.sample to /config/nginx/proxy-confs/authelia.subdomain.conf
@@ -28,7 +28,7 @@ location @authelia_proxy_signin {
add_header Set-Cookie $set_cookie;
## Set the $target_url variable based on the original request
set_escape_uri $target_url $scheme://$http_host$request_uri;
set_escape_uri $target_url $scheme://$host$is_request_port$request_port$request_uri;
## Translate the Location response header from the auth subrequest into a variable
auth_request_set $signin_url $upstream_http_location;
@@ -1,4 +1,4 @@
## Version 2025/03/25 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/authentik-server.conf.sample
## Version 2026/07/18 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/authentik-server.conf.sample
# Make sure that your authentik container is in the same user defined bridge network and is named authentik-server
# Rename /config/nginx/proxy-confs/authentik.subdomain.conf.sample to /config/nginx/proxy-confs/authentik.subdomain.conf
@@ -38,10 +38,10 @@ location @goauthentik_proxy_signin {
add_header Set-Cookie $set_cookie;
## Set the $target_url variable based on the original request
set_escape_uri $target_url $scheme://$http_host$request_uri;
set_escape_uri $target_url $scheme://$host$is_request_port$request_port$request_uri;
## Set the $signin_url variable
set $signin_url https://$http_host/outpost.goauthentik.io/start?rd=$target_url;
set $signin_url https://$host$is_request_port$request_port/outpost.goauthentik.io/start?rd=$target_url;
## Redirect to login
return 302 $signin_url;
+4 -4
View File
@@ -1,4 +1,4 @@
## Version 2023/02/09 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/proxy.conf.sample
## Version 2026/07/18 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/proxy.conf.sample
# Timeout if the real server is dead
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
@@ -21,11 +21,11 @@ proxy_no_cache $cookie_session;
# Proxy Header Settings
proxy_set_header Connection $connection_upgrade;
proxy_set_header Early-Data $ssl_early_data;
proxy_set_header Host $host;
proxy_set_header Host $host$is_request_port$request_port;
proxy_set_header Proxy "";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Host $host$is_request_port$request_port;
proxy_set_header X-Forwarded-Method $request_method;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Proto $scheme;
@@ -33,5 +33,5 @@ proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Ssl on;
proxy_set_header X-Forwarded-Uri $request_uri;
proxy_set_header X-Original-Method $request_method;
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
proxy_set_header X-Original-URL $scheme://$host$is_request_port$request_port$request_uri;
proxy_set_header X-Real-IP $remote_addr;
@@ -1,4 +1,4 @@
## Version 2025/06/08 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/tinyauth-server.conf.sample
## Version 2026/07/18 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/tinyauth-server.conf.sample
# Make sure that your tinyauth container is in the same user defined bridge network and is named tinyauth
# Rename /config/nginx/proxy-confs/tinyauth.subdomain.conf.sample to /config/nginx/proxy-confs/tinyauth.subdomain.conf
@@ -12,7 +12,7 @@ location /tinyauth {
proxy_pass http://$upstream_tinyauth:3000/api/auth/nginx;
proxy_set_header x-forwarded-proto $scheme;
proxy_set_header x-forwarded-host $http_host;
proxy_set_header x-forwarded-host $host$is_request_port$request_port;
proxy_set_header x-forwarded-uri $request_uri;
}
@@ -21,8 +21,8 @@ location @tinyauth_login {
internal;
## Set the $target_url variable based on the original request
set_escape_uri $target_url $scheme://$http_host$request_uri;
set_escape_uri $target_url $scheme://$host$is_request_port$request_port$request_uri;
## Set the $signin_url variable
set $domain $host;
if ($host ~* "^[^.]+\.([^.]+\..+)$") {