updated member app and authelia nginx

This commit is contained in:
eyjhb 2024-08-13 14:41:47 +02:00
parent 23faf44b39
commit 74ff08576a
Signed by: eyjhb
GPG key ID: 609F508E3239F920
3 changed files with 9 additions and 21 deletions

View file

@ -20,7 +20,7 @@ in {
services.nginx.virtualHosts."${config.mine.shared.settings.domain}" = config.mine.shared.lib.authelia.mkProtectedWebsite {
endpoint = urlpath;
vhostConfig.locations."${urlpath}" = {
extraConfig = "rewrite ^${urlpath}(.*)$ /$1 break;";
# extraConfig = "rewrite ^${urlpath}(.*)$ /$1 break;";
proxyPass = "http://localhost:${builtins.toString port}";
};
};