Merge pull request 'fix: use 127.0.0.1 IPv4 instead of localhost to avoid errors' (#31) from fix/localhost-ipv4-ipv6 into main

Reviewed-on: pub-solar/infra-new#31
Reviewed-by: Akshay Mankar <axeman@noreply.git.pub.solar>
This commit is contained in:
Akshay Mankar 2023-10-29 11:47:47 +00:00
commit 7bbccd855f
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873
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";