Cqmelot: quickfix GoToSocial reverse proxy
This commit is contained in:
parent
1b470a3855
commit
d2033c81a0
|
@ -33,7 +33,10 @@ in
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
|
recommendedProxySettings = true;
|
||||||
|
proxyWebsockets = true;
|
||||||
proxyPass = "http://${gtsConfig.bind-address}:${builtins.toString gtsConfig.port}";
|
proxyPass = "http://${gtsConfig.bind-address}:${builtins.toString gtsConfig.port}";
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|
Loading…
Reference in a new issue