summaryrefslogtreecommitdiff
path: root/installation/caddyfile-pleroma.example
diff options
context:
space:
mode:
authorAlfie Pates <alfie@alfiepates.me>2019-05-23 22:33:27 +0100
committerAlfie Pates <alfie@alfiepates.me>2019-05-23 22:33:27 +0100
commit356c047759735bcd984ebd44059a21a3cf22af0e (patch)
tree94f316fd8392ef293037a102f5c2dc95fe504280 /installation/caddyfile-pleroma.example
parent75e78d4e239a5c999306e92b181b0e29c52dc9db (diff)
downloadpleroma-356c047759735bcd984ebd44059a21a3cf22af0e.tar.gz
pleroma-356c047759735bcd984ebd44059a21a3cf22af0e.zip
explicitly set reverse proxy upstream to IPv4
since Pleroma.Web.Endpoint binds on IPv4 only and `localhost.` resolves to [::0] on some systems fixes #930.
Diffstat (limited to 'installation/caddyfile-pleroma.example')
-rw-r--r--installation/caddyfile-pleroma.example4
1 files changed, 3 insertions, 1 deletions
diff --git a/installation/caddyfile-pleroma.example b/installation/caddyfile-pleroma.example
index fcf76718e..7985d9c67 100644
--- a/installation/caddyfile-pleroma.example
+++ b/installation/caddyfile-pleroma.example
@@ -10,7 +10,9 @@ example.tld {
gzip
- proxy / localhost:4000 {
+ # this is explicitly IPv4 since Pleroma.Web.Endpoint binds on IPv4 only
+ # and `localhost.` resolves to [::0] on some systems: see issue #930
+ proxy / 127.0.0.1:4000 {
websocket
transparent
}