I think I found something
parent
7270c495ee
commit
17700d6632
|
@ -3,25 +3,13 @@
|
||||||
iceshrimp = {
|
iceshrimp = {
|
||||||
enable = true; # Actually enable the module
|
enable = true; # Actually enable the module
|
||||||
createDb = true;
|
createDb = true;
|
||||||
configureNginx = {
|
configureNginx.enable = true;
|
||||||
enable = false; #?
|
|
||||||
};
|
|
||||||
stateDir = "/var/lib/iceshrimp";
|
stateDir = "/var/lib/iceshrimp";
|
||||||
mediaDir = "/var/lib/iceshrimp/files";
|
mediaDir = "/var/lib/iceshrimp/files";
|
||||||
settings = {
|
settings = {
|
||||||
url = "https://mastodon.hermitcollective.net";
|
url = "https://mastodon.hermitcollective.net";
|
||||||
maxNoteLength = 35124; # Length of the GPL3 + long;
|
maxNoteLength = 35124; # Length of the GPL3 + long;
|
||||||
maxCaptionLength = 5000; # We did it HermitCollective!! We solved accesibility!
|
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