diff options
Diffstat (limited to 'config/services/web/searx/morty')
| -rw-r--r-- | config/services/web/searx/morty/default.nix | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/config/services/web/searx/morty/default.nix b/config/services/web/searx/morty/default.nix deleted file mode 100644 index af48fda..0000000 --- a/config/services/web/searx/morty/default.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ config, lib, ... }: - -let cfg = config.services.morty; -in { - services.nginx.virtualHosts.searx.locations = - lib.mkIf cfg.enable { - "/morty/" = { - proxyPass = "http://127.0.0.1:${toString cfg.port}"; - extraConfig = '' - proxy_set_header Host $host; - proxy_set_header Connection $http_connection; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Scheme $scheme; - ''; - }; - }; - - services.morty = { enable = false; }; -} |
