Set up nitter on wind

pull/1/head
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;
locations."/".proxyPass = "http://unix:/run/gitea/gitea.sock:";
};
"nitter.graven.dev" = {
useACMEHost = "graven.dev";
forceSSL = true;
locations."/".proxyPass = "http://localhost:4992"
}
"vault.graven.dev" = {
forceSSL = true;
useACMEHost = "graven.dev";

View File

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