1
0
Fork 0

nitter: Disable auth for pics and videos

This commit is contained in:
Daniel Kempkens 2023-02-13 21:39:00 +01:00
parent 3454e7c862
commit 2b19cbf0ce
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -35,9 +35,20 @@
forceSSL = false; forceSSL = false;
enableACME = false; enableACME = false;
basicAuthFile = config.age.secrets.nitter-auth.path;
locations."/" = { locations."/" = {
basicAuthFile = config.age.secrets.nitter-auth.path;
recommendedProxySettings = true;
proxyPass = "http://127.0.0.1:8001";
};
locations."/pic/" = {
recommendedProxySettings = true;
proxyPass = "http://127.0.0.1:8001";
};
locations."/video/" = {
recommendedProxySettings = true; recommendedProxySettings = true;
proxyPass = "http://127.0.0.1:8001"; proxyPass = "http://127.0.0.1:8001";
}; };