1
0
Fork 0

aria2: set cors headers

This commit is contained in:
Daniel Kempkens 2024-03-18 00:42:57 +01:00
parent 0bd6208204
commit f0b4fc1d19
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -53,6 +53,12 @@ in
recommendedProxySettings = true;
proxyPass = "http://192.168.42.2:6801";
proxyWebsockets = true;
extraConfig = ''
add_header Access-Control-Allow-Headers '*';
add_header Access-Control-Allow-Origin '*';
add_header Access-Control-Allow-Methods '*';
'';
};
};
}