Cqmelot: quickfix GoToSocial reverse proxy

This commit is contained in:
Victor Mignot 2024-07-06 13:57:46 +02:00
parent 1b470a3855
commit d2033c81a0
Signed by: dala
GPG key ID: 5E7F2CE1BEAFED3D

View file

@ -33,7 +33,10 @@ in
forceSSL = true;
locations."/" = {
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;