feat(Infini-SERVER): enable nginx and nitter
This commit is contained in:
parent
c85d128c3b
commit
530c3c5254
1 changed files with 29 additions and 0 deletions
|
@ -47,4 +47,33 @@
|
|||
"/root/.ssh/immutable_files.txt"
|
||||
];
|
||||
};
|
||||
|
||||
services = {
|
||||
nginx = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"nitter.inx.moe" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8000";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nitter = rec {
|
||||
enable = true;
|
||||
server = {
|
||||
port = 8000;
|
||||
hostname = "nitter.inx.moe";
|
||||
};
|
||||
openFirewall = true;
|
||||
preferences = {
|
||||
replaceTwitter = server.hostname;
|
||||
infiniteScroll = true;
|
||||
proxyVideos = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue