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