Camelot: GTS quickfix
This commit is contained in:
parent
d2033c81a0
commit
cb714ec767
|
@ -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;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue