nitter: Disable auth for pics and videos
This commit is contained in:
parent
3454e7c862
commit
2b19cbf0ce
1 changed files with 12 additions and 1 deletions
|
@ -35,9 +35,20 @@
|
|||
|
||||
forceSSL = false;
|
||||
enableACME = false;
|
||||
basicAuthFile = config.age.secrets.nitter-auth.path;
|
||||
|
||||
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;
|
||||
proxyPass = "http://127.0.0.1:8001";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue