summaryrefslogtreecommitdiff
path: root/hosts/p-body/nginx.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/p-body/nginx.nix')
-rw-r--r--hosts/p-body/nginx.nix27
1 files changed, 0 insertions, 27 deletions
diff --git a/hosts/p-body/nginx.nix b/hosts/p-body/nginx.nix
index 3edd7b4..51d06ed 100644
--- a/hosts/p-body/nginx.nix
+++ b/hosts/p-body/nginx.nix
@@ -1,11 +1,9 @@
{
config,
- getchoo-website,
pkgs,
...
}: let
inherit (config.networking) domain;
- website = getchoo-website.packages.${pkgs.system}.default;
in {
networking.firewall.allowedTCPPorts = [80 443];
@@ -34,17 +32,6 @@ in {
};
};
in {
- "${domain}" = {
- default = true;
- enableACME = true;
- serverAliases = ["www.${domain}"];
-
- locations."/" = {
- root = "${website}/libexec/getchoo-website/deps/getchoo-website/dist/";
- index = "index.html";
- };
- };
-
"api.${domain}" = {
enableACME = true;
serverAliases = ["www.api.${domain}"];
@@ -59,20 +46,6 @@ in {
locations = mkProxy "/" "3000";
};
- "status.${domain}" = {
- enableACME = true;
- serverAliases = ["www.status.${domain}"];
- locations."/" = {
- root =
- pkgs.writeTextDir "notindex.html"
- ''
- lol
- '';
- index = "index.html";
- tryFiles = "$uri =404";
- };
- };
-
"grafana.${domain}" = {
enableACME = true;
serverAliases = ["www.grafana.${domain}"];