Fix
This commit is contained in:
@@ -53,7 +53,6 @@ in {
|
||||
proxy_buffer_size 32k;
|
||||
proxy_buffers 8 16k;
|
||||
proxy_busy_buffers_size 48k;
|
||||
port_in_redirect off;
|
||||
'';
|
||||
|
||||
virtualHosts = {
|
||||
@@ -74,13 +73,10 @@ in {
|
||||
};
|
||||
"sec.${cfg.hostDomain}" = {
|
||||
forceSSL = true;
|
||||
# quic = true;
|
||||
# http3 = true;
|
||||
useACMEHost = "${cfg.hostDomain}";
|
||||
|
||||
locations = {
|
||||
"/" = {
|
||||
recommendedProxySettings = true;
|
||||
proxyWebsockets = true;
|
||||
proxyPass= "http://${cfg.containers.authentik.subdomain}.${cfg.hostDomain}";
|
||||
|
||||
@@ -107,6 +103,7 @@ in {
|
||||
};
|
||||
|
||||
"/outpost.goauthentik.io" = {
|
||||
proxyWebsockets = true;
|
||||
proxyPass = "http://${config.syscfg.server.containers.authentik.ip}:${toString config.syscfg.server.containers.authentik.port}/outpost.goauthentik.io";
|
||||
extraConfig = ''
|
||||
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
|
||||
|
||||
Reference in New Issue
Block a user