First
[anni] / docs / installation_1 / caddyfile-pleroma.example
1 # default Caddyfile config for Pleroma
2 #
3 # Simple installation instructions:
4 # 1. Replace 'example.tld' with your instance's domain wherever it appears.
5 # 2. Copy this section into your Caddyfile and restart Caddy.
6
7 example.tld  {
8   log {
9     output file /var/log/caddy/pleroma.log
10   }
11
12   encode gzip
13
14   # this is explicitly IPv4 since Pleroma.Web.Endpoint binds on IPv4 only
15   # and `localhost.` resolves to [::0] on some systems: see issue #930
16   reverse_proxy 127.0.0.1:4000
17 }