Compare commits

..

4 commits

3 changed files with 13 additions and 0 deletions

View file

@ -49,6 +49,8 @@ in
proxyPass = "http://localhost:3923";
proxyWebsockets = true;
extraConfig = ''
client_max_body_size 0;
auth_request /outpost.goauthentik.io/auth/nginx;
auth_request_set $auth_cookie $upstream_http_set_cookie;
add_header Set-Cookie $auth_cookie;
@ -61,6 +63,8 @@ in
locations."/outpost.goauthentik.io" = {
proxyPass = "${authentik_internal}/outpost.goauthentik.io";
extraConfig = ''
client_max_body_size 0;
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
add_header Set-Cookie $auth_cookie;
auth_request_set $auth_cookie $upstream_http_set_cookie;

View file

@ -78,6 +78,7 @@
80
443
25565
55555
];
};
@ -207,4 +208,6 @@
];
services.printing.enable = true;
boot.supportedFilesystems.nfs = true;
}

View file

@ -7,6 +7,12 @@
shell = pkgs.bash;
};
users.users.alina = {
description = "Puppygirl of fedi";
isNormalUser = true;
shell = pkgs.nushell;
};
services.openssh.extraConfig = ''
Match user mistergij
DisableForwarding yes