summaryrefslogtreecommitdiffstats
path: root/tv/2configs/imgur.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tv/2configs/imgur.nix')
-rw-r--r--tv/2configs/imgur.nix22
1 files changed, 0 insertions, 22 deletions
diff --git a/tv/2configs/imgur.nix b/tv/2configs/imgur.nix
deleted file mode 100644
index e22122761..000000000
--- a/tv/2configs/imgur.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-with import ./lib;
-{ config, pkgs, ... }: {
- services.nginx.virtualHosts."ni.r" = {
- locations."/image" = {
- extraConfig = /* nginx */ ''
- client_max_body_size 20M;
-
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto $scheme;
-
- proxy_pass http://127.0.0.1:${toString config.krebs.htgen.imgur.port};
- proxy_pass_header Server;
- '';
- };
- };
-
- krebs.htgen.imgur = {
- port = 7771;
- scriptFile = "${pkgs.htgen-imgur}/bin/htgen-imgur";
- };
-}