X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=installation%2Fcaddy%2FCaddyfile;fp=installation%2Fcaddy%2FCaddyfile;h=5cc75a1fc50596d547a5fa8a23d94e3801bae720;hb=c0e6f30e4d17bd69b7ddd26aa0c0f1433184128a;hp=0000000000000000000000000000000000000000;hpb=3d9dabd9147d2ba001d64de0ea5527bc5727dda6;p=akkoma diff --git a/installation/caddy/Caddyfile b/installation/caddy/Caddyfile new file mode 100644 index 000000000..5cc75a1fc --- /dev/null +++ b/installation/caddy/Caddyfile @@ -0,0 +1,17 @@ +# default Caddyfile config for Akkoma +# +# Simple installation instructions: +# 1. Replace 'example.tld' with your instance's domain wherever it appears. +# 2. Copy this section into your Caddyfile and restart Caddy. + +example.tld { + log { + output file /var/log/caddy/akkoma.log + } + + encode gzip + + # this is explicitly IPv4 since Pleroma.Web.Endpoint binds on IPv4 only + # and `localhost.` resolves to [::0] on some systems: see issue #930 + reverse_proxy 127.0.0.1:4000 +}