firefly: fix auth proxying for importer

main
Benjamin Yule Bädorf 2024-04-09 20:15:14 +02:00
parent e3fefc1cd1
commit cf485df2d2
Signed by: b12f
GPG Key ID: 729956E1124F8F26
1 changed files with 2 additions and 0 deletions

View File

@ -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;