Compare commits
4 commits
6adab5bc47
...
145e6a609e
Author | SHA1 | Date | |
---|---|---|---|
145e6a609e | |||
31e04b37ac | |||
1bc7a62840 | |||
f61c0c0e58 |
3 changed files with 13 additions and 0 deletions
|
@ -49,6 +49,8 @@ in
|
||||||
proxyPass = "http://localhost:3923";
|
proxyPass = "http://localhost:3923";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
client_max_body_size 0;
|
||||||
|
|
||||||
auth_request /outpost.goauthentik.io/auth/nginx;
|
auth_request /outpost.goauthentik.io/auth/nginx;
|
||||||
auth_request_set $auth_cookie $upstream_http_set_cookie;
|
auth_request_set $auth_cookie $upstream_http_set_cookie;
|
||||||
add_header Set-Cookie $auth_cookie;
|
add_header Set-Cookie $auth_cookie;
|
||||||
|
@ -61,6 +63,8 @@ in
|
||||||
locations."/outpost.goauthentik.io" = {
|
locations."/outpost.goauthentik.io" = {
|
||||||
proxyPass = "${authentik_internal}/outpost.goauthentik.io";
|
proxyPass = "${authentik_internal}/outpost.goauthentik.io";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
client_max_body_size 0;
|
||||||
|
|
||||||
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
|
proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
|
||||||
add_header Set-Cookie $auth_cookie;
|
add_header Set-Cookie $auth_cookie;
|
||||||
auth_request_set $auth_cookie $upstream_http_set_cookie;
|
auth_request_set $auth_cookie $upstream_http_set_cookie;
|
||||||
|
|
|
@ -78,6 +78,7 @@
|
||||||
80
|
80
|
||||||
443
|
443
|
||||||
25565
|
25565
|
||||||
|
55555
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -207,4 +208,6 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
|
boot.supportedFilesystems.nfs = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,12 @@
|
||||||
shell = pkgs.bash;
|
shell = pkgs.bash;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.users.alina = {
|
||||||
|
description = "Puppygirl of fedi";
|
||||||
|
isNormalUser = true;
|
||||||
|
shell = pkgs.nushell;
|
||||||
|
};
|
||||||
|
|
||||||
services.openssh.extraConfig = ''
|
services.openssh.extraConfig = ''
|
||||||
Match user mistergij
|
Match user mistergij
|
||||||
DisableForwarding yes
|
DisableForwarding yes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue