Fix vikunja deployment
ci / test (push) Failing after 8s Details
ci / deploy (push) Has been skipped Details

This commit is contained in:
ciapa 2024-04-11 14:58:07 +00:00
parent 08c26262d6
commit 624aebdc32
1 changed files with 12 additions and 1 deletions

View File

@ -2,12 +2,23 @@
{
services.vikunja = {
enable = true;
setupNginx = true;
frontendScheme = "https";
frontendHostname = "todo.lewd.wtf";
};
services.nginx.virtualHosts."todo.lewd.wtf" = {
enableACME = true;
forceSSL = true;
locations = {
"/" = {
root = pkgs.vikunja-frontend;
tryFiles = "try_files $uri $uri/ /";
};
"~* ^/(api|dav|\\.well-known)/" = {
proxyPass = "http://localhost:3456";
extraConfig = ''
client_max_body_size 20M;
'';
};
};
};
}