diff --git a/services/iceshrimp.nix b/services/iceshrimp.nix index 5816200..7a57750 100644 --- a/services/iceshrimp.nix +++ b/services/iceshrimp.nix @@ -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 }; }; };