From 2e74ef86b70c2d9298b32521cf8e85710a4906c5 Mon Sep 17 00:00:00 2001 From: HalianElf <28244771+HalianElf@users.noreply.github.com> Date: Tue, 5 Oct 2021 09:29:39 -0400 Subject: [PATCH] Have return include full URL Fixes the return when using subdomains (and doesn't effect subfolders) --- organizr-auth.subfolder.conf.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/organizr-auth.subfolder.conf.sample b/organizr-auth.subfolder.conf.sample index 3368e48..13d7c52 100644 --- a/organizr-auth.subfolder.conf.sample +++ b/organizr-auth.subfolder.conf.sample @@ -37,4 +37,4 @@ location ~ /auth-([0-9]+) { # Optional redirect server authentication errors to organizr authentication page # NOTE: $host must be modified to your public URL when using subdomain proxies -#error_page 401 $scheme://$host/?error=$status&return=$request_uri; +#error_page 401 $scheme://$host/?error=$status&return=$scheme://$http_host$request_uri;