Commit 973f9223 authored by erdnaxe's avatar erdnaxe 🦋
Browse files

Update nitter configuration

parent 68a13bec
......@@ -15,6 +15,9 @@
proxyVideos = false;
replaceTwitter = "nitter.nanax.fr";
};
cache = {
rssMinutes = 120;
};
};
services.nginx = {
......@@ -23,6 +26,12 @@
enableACME = true;
forceSSL = true;
locations."/" = { proxyPass = "http://127.0.0.1:3005"; };
extraConfig = ''
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload" always;
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options deny;
add_header X-XSS-Protection "1; mode=block";
'';
};
};
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment