Set up nitter on wind
This commit is contained in:
parent
d173ab984f
commit
306652ff73
|
@ -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";
|
||||||
|
|
11
config/hosts/wind/services/nitter.nix
Normal file
11
config/hosts/wind/services/nitter.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
services.nitter = {
|
||||||
|
enable = true;
|
||||||
|
server = {
|
||||||
|
port = 4992;
|
||||||
|
# Only save cookies on HTTPS
|
||||||
|
https = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue