mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-09 09:52:13 +00:00
caddy config example
This commit is contained in:
parent
9d054d30bc
commit
13925e0eb3
18
installation/caddyfile-pleroma.example
Normal file
18
installation/caddyfile-pleroma.example
Normal file
|
@ -0,0 +1,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
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue