mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 16:40:29 +00:00
19 lines
439 B
Text
19 lines
439 B
Text
|
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
|
||
|
}
|
||
|
}
|