Set up nitter on wind

This commit is contained in:
Amanda Graven 2022-04-12 15:38:07 +02:00
parent d173ab984f
commit 306652ff73
Signed by: amanda
GPG key ID: F747582C5608F4CB
2 changed files with 16 additions and 0 deletions

View file

@ -29,6 +29,11 @@
forceSSL = true; forceSSL = true;
locations."/".proxyPass = "http://unix:/run/gitea/gitea.sock:"; locations."/".proxyPass = "http://unix:/run/gitea/gitea.sock:";
}; };
"nitter.graven.dev" = {
useACMEHost = "graven.dev";
forceSSL = true;
locations."/".proxyPass = "http://localhost:4992"
}
"vault.graven.dev" = { "vault.graven.dev" = {
forceSSL = true; forceSSL = true;
useACMEHost = "graven.dev"; useACMEHost = "graven.dev";

View file

@ -0,0 +1,11 @@
{ config, ... }:
{
services.nitter = {
enable = true;
server = {
port = 4992;
# Only save cookies on HTTPS
https = true;
}
}
}