firefly: fix auth proxying for importer
This commit is contained in:
parent
e3fefc1cd1
commit
cf485df2d2
|
@ -39,6 +39,8 @@ in {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "firefly.b12f.io";
|
useACMEHost = "firefly.b12f.io";
|
||||||
extraConfig = "include /etc/nginx/conf-available/authelia-location.conf;";
|
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."/".proxyPass = "http://127.0.0.1:8080";
|
||||||
locations."/".extraConfig = ''
|
locations."/".extraConfig = ''
|
||||||
include /etc/nginx/conf-available/proxy.conf;
|
include /etc/nginx/conf-available/proxy.conf;
|
||||||
|
|
Loading…
Reference in a new issue