diff --git a/configurations/camelot/gotosocial.nix b/configurations/camelot/gotosocial.nix index 108dc4c..322e1c0 100644 --- a/configurations/camelot/gotosocial.nix +++ b/configurations/camelot/gotosocial.nix @@ -10,10 +10,10 @@ in { services.gotosocial = { enable = true; - openFirewall = true; + openFirewall = false; setupPostgresqlDB = true; settings = { - applications-name = "Dala's personnal instance"; + application-name = "Dala's personnal instance"; host = "gts.dalaran.fr"; account-domain = "dalaran.fr"; bind-address = "localhost"; @@ -36,14 +36,6 @@ in recommendedProxySettings = true; proxyWebsockets = true; proxyPass = "http://${gtsConfig.bind-address}:${builtins.toString gtsConfig.port}"; - - extraConfig = '' - proxy_set_header Host $host; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_set_header X-Forwarded-For $remote_addr; - proxy_set_header X-Forwarded-Proto $scheme; - ''; }; }; };