fix: use 127.0.0.1 IPv4 instead of localhost to avoid errors #31

Merged
axeman merged 1 commit from fix/localhost-ipv4-ipv6 into main 2023-10-29 11:47:48 +00:00
3 changed files with 4 additions and 4 deletions

View file

@ -25,7 +25,7 @@
return 302 /user/oauth2/keycloak;
'';
locations."/".proxyPass = "http://localhost:3000";
locations."/".proxyPass = "http://127.0.0.1:3000";
};
services.gitea = {

View file

@ -24,7 +24,7 @@
"/" = {
extraConfig = ''
proxy_pass http://localhost:8080;
proxy_pass http://127.0.0.1:8080;
'';
};
};

View file

@ -12,12 +12,12 @@
settings = {
homeserver = {
# TODO: Use the port from synapse config
address = "http://localhost:8008";
address = "http://127.0.0.1:8008";
domain = "test.pub.solar";
verify_ssl = true;
};
appservice = {
address = "http://localhost:8009";
address = "http://127.0.0.1:8009";
bot_avatar = "mxc://maunium.net/tJCRmUyJDsgRNgqhOgoiHWbX";
bot_displayname = "Telegram bridge bot";
bot_username = "telegrambot";