forked from pub-solar/infra
fix: use 127.0.0.1 IPv4 instead of localhost to avoid errors
with localhost resolving to IPv6
This commit is contained in:
parent
f168a5393f
commit
e9ef6be915
|
@ -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 = {
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
"/" = {
|
"/" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
proxy_pass http://localhost:8080;
|
proxy_pass http://127.0.0.1:8080;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue