blob: e0f9dc917ae1c43ba9a43b0d0fd16b3342c3ded1 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 | social.domain.tld  {
  tls user@domain.tld
  log /var/log/caddy/pleroma.log
  cors / {
    origin https://halcyon.domain.tld
    origin https://pinafore.domain.tld
    methods POST,PUT,DELETE,GET,PATCH,OPTIONS
    allowed_headers Authorization,Content-Type,Idempotency-Key
    exposed_headers Link,X-RateLimit-Reset,X-RateLimit-Limit,X-RateLimit-Remaining,X-Request-Id
  }
  proxy / localhost:4000 {
    websocket
    transparent
  }
}
 |