use nginx instead of angie
This commit is contained in:
parent
b091141927
commit
93bc2287f6
@ -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/;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user