I think I found something

Main
Johannes Hendrik Gerard van der Weide 2024-03-06 15:22:08 +01:00
parent 7270c495ee
commit 17700d6632
1 changed files with 1 additions and 13 deletions

View File

@ -3,25 +3,13 @@
iceshrimp = {
enable = true; # Actually enable the module
createDb = true;
configureNginx = {
enable = false; #?
};
configureNginx.enable = true;
stateDir = "/var/lib/iceshrimp";
mediaDir = "/var/lib/iceshrimp/files";
settings = {
url = "https://mastodon.hermitcollective.net";
maxNoteLength = 35124; # Length of the GPL3 + long;
maxCaptionLength = 5000; # We did it HermitCollective!! We solved accesibility!
port = 2004;
ssl = true;
};
};
nginx.virtualHosts."mastodon.hermitcollective.net" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:2004";
proxyWebsockets = true; # needed if you need to use WebSocket
};
};
};