From cf485df2d2255a42576aac4c82d64fc3046d87be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Yule=20B=C3=A4dorf?= Date: Tue, 9 Apr 2024 20:15:14 +0200 Subject: [PATCH] firefly: fix auth proxying for importer --- hosts/pie/firefly.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/pie/firefly.nix b/hosts/pie/firefly.nix index ee1715d..0c65bf0 100644 --- a/hosts/pie/firefly.nix +++ b/hosts/pie/firefly.nix @@ -39,6 +39,8 @@ in { forceSSL = true; useACMEHost = "firefly.b12f.io"; extraConfig = "include /etc/nginx/conf-available/authelia-location.conf;"; + # Make api calls skip the nginx proxy auth + locations."/api/v1".proxyPass = "http://127.0.0.1:8080"; locations."/".proxyPass = "http://127.0.0.1:8080"; locations."/".extraConfig = '' include /etc/nginx/conf-available/proxy.conf;