use nginx instead of angie

This commit is contained in:
Ivan Kirilov Dimitrov 2024-07-25 22:52:49 +02:00
parent b091141927
commit 93bc2287f6
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294

View File

@ -17,7 +17,6 @@ in
services = {
nginx = {
enable = true;
package = pkgs.angieQuic;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
@ -69,18 +68,6 @@ in
proxyPass = "http://127.0.0.1:8000";
};
};
"status.idimitrov.dev" = {
enableACME = true;
forceSSL = true;
root = "${pkgs.angie-console-light}/share/angie-console-light/html";
extraConfig = restrictToVpn;
locations."/" = { };
locations."/api/" = {
extraConfig = ''
api /status/;
'';
};
};
};
};
};