I think I found something
parent
7270c495ee
commit
17700d6632
|
@ -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
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue