summaryrefslogtreecommitdiff
path: root/hosts/p-body/nginx.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-09-06 17:50:53 -0400
committerseth <[email protected]>2023-09-07 13:52:26 -0400
commite41f98de313f81a74a6ebb1131b3bd92817c4acb (patch)
tree02272b37a7ce9650bdfc47f73be64a0a7b2f8800 /hosts/p-body/nginx.nix
parent5d0fdf984a2708ad746669814ac874d6f7ad44b4 (diff)
hosts: remove p-body
Diffstat (limited to 'hosts/p-body/nginx.nix')
-rw-r--r--hosts/p-body/nginx.nix32
1 files changed, 0 insertions, 32 deletions
diff --git a/hosts/p-body/nginx.nix b/hosts/p-body/nginx.nix
deleted file mode 100644
index d52473c..0000000
--- a/hosts/p-body/nginx.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- config,
- self,
- ...
-}: let
- inherit (config.networking) domain;
- inherit (self.lib.utils.nginx) mkProxy mkVHosts;
-in {
- server = {
- acme.enable = true;
- services.cloudflared.enable = true;
- };
-
- services.nginx = {
- enable = true;
-
- recommendedGzipSettings = true;
- recommendedOptimisation = true;
- recommendedProxySettings = true;
- recommendedTlsSettings = true;
-
- virtualHosts = mkVHosts {
- "api.${domain}" = {
- locations = mkProxy "/" "8080";
- };
-
- "grafana.${domain}" = {
- locations = mkProxy "/" "4000";
- };
- };
- };
-}