fix: use ipv4 localhost instead of ipv6

This commit is contained in:
Ahwx 2024-07-17 11:48:31 +02:00
parent 96c87068c5
commit 720e3ae4bf

View file

@ -86,7 +86,7 @@ in {
# It's also possible to do a redirect here or something else, this vhost is not # It's also possible to do a redirect here or something else, this vhost is not
# needed for Matrix. It's recommended though to *not put* element # needed for Matrix. It's recommended though to *not put* element
# here, see also the section about Element. # here, see also the section about Element.
locations."/".proxyPass = "http://[::1]:4321"; locations."/".proxyPass = "http://127.0.0.1:4321";
# Forward all Matrix API calls to the synapse Matrix homeserver. A trailing slash # Forward all Matrix API calls to the synapse Matrix homeserver. A trailing slash
# *must not* be used here. # *must not* be used here.
locations."/_matrix".proxyPass = "http://[::1]:8008"; locations."/_matrix".proxyPass = "http://[::1]:8008";