summaryrefslogtreecommitdiffstats
path: root/tv/2configs/imgur.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-09-12 12:56:39 +0200
committertv <tv@krebsco.de>2023-09-13 16:23:38 +0200
commitfbd485cd86c7e9984819357398f912a2d5510845 (patch)
treee1a9e2eedacfa25018d6b0eef3f4628a4d503ebc /tv/2configs/imgur.nix
parent5370e0485788224126861e076110ac705013d2de (diff)
tv: emigrate
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";
- };
-}