From 9bc17ed5ff1d385fad2dee0020fb46cfc5f2512e Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 4 Oct 2022 14:30:01 +0200 Subject: remove some old stuff --- flora/services/surveys.nix | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 flora/services/surveys.nix (limited to 'flora/services/surveys.nix') diff --git a/flora/services/surveys.nix b/flora/services/surveys.nix deleted file mode 100644 index befa673..0000000 --- a/flora/services/surveys.nix +++ /dev/null @@ -1,23 +0,0 @@ -{pkgs, config, ...}: - -let survey = pkgs.fetchgit { - url = "https://stuebinm.eu/git/slightly-better-surveys"; - rev = "c255269db0c739400b62d4c4041e3238b1045d22"; - sha256 = "007q6s5xc3kn3dy1zj7hc94wyn495qam2x1020br3crwgpxy3hmp"; - }; -in -{ - services.nginx.virtualHosts."survey.stuebinm.eu" = { - locations."/".root = survey.outPath + "/site"; - locations."/upload".proxyPass = "http://localhost:8080"; - - enableACME = true; - forceSSL = true; - }; - - services.nginx.appendHttpConfig = '' - types { - application/wasm wasm; - } - ''; -} -- cgit v1.2.3