Compare commits
4 commits
36852526e5
...
62ff7eb5ca
Author | SHA1 | Date | |
---|---|---|---|
62ff7eb5ca | |||
22b9a7f8cd | |||
078ee248fe | |||
7cdcacbc03 |
3 changed files with 49 additions and 4 deletions
8
flake.lock
generated
8
flake.lock
generated
|
@ -238,11 +238,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1758070616,
|
"lastModified": 1758231157,
|
||||||
"narHash": "sha256-VPmnIwfs9tiZks3wl7SxkHtXe8gkOaRMQG1N+wXudoo=",
|
"narHash": "sha256-7iMBkMqnbbQDVosbYqq8pclLr8F5IE7jUZqTNPpL/rg=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "50d499a8fc192450719720680b6361f1e20cfa55",
|
"rev": "04577fd42db03c89eca4f87f6c83d282df686a49",
|
||||||
"revCount": 53,
|
"revCount": 63,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.posixlycorrect.com/fabian/homepage.git"
|
"url": "https://git.posixlycorrect.com/fabian/homepage.git"
|
||||||
},
|
},
|
||||||
|
|
|
@ -18,5 +18,6 @@ with lib; {
|
||||||
./immich.nix
|
./immich.nix
|
||||||
./mealie.nix
|
./mealie.nix
|
||||||
./dufs.nix
|
./dufs.nix
|
||||||
|
./isso.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
44
sys/platforms/vps/srv/isso.nix
Normal file
44
sys/platforms/vps/srv/isso.nix
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib; {
|
||||||
|
services = {
|
||||||
|
nginx = {
|
||||||
|
virtualHosts."isso.posixlycorrect.com" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
extraConfig = ''
|
||||||
|
proxy_headers_hash_max_size 512;
|
||||||
|
proxy_headers_hash_bucket_size 128;
|
||||||
|
'';
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:8888/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
isso = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
general = {
|
||||||
|
host = "http://isso.posixlycorrect.com";
|
||||||
|
dbpath = "/var/lib/isso/comments.db";
|
||||||
|
notify = "stdout";
|
||||||
|
};
|
||||||
|
moderation = {
|
||||||
|
enabled = false;
|
||||||
|
approve-if-email-previously-approved = false;
|
||||||
|
purge-after = "365d";
|
||||||
|
};
|
||||||
|
server = {
|
||||||
|
listen = "http://127.0.0.1:8888/";
|
||||||
|
};
|
||||||
|
guard = {
|
||||||
|
require-author = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue