fix: use 127.0.0.1 IPv4 instead of localhost to avoid errors

with localhost resolving to IPv6
This commit is contained in:
teutat3s 2023-10-29 12:30:36 +01:00
parent f168a5393f
commit e9ef6be915
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
3 changed files with 4 additions and 4 deletions

View file

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

View file

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

View file

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