Merge branch 'develop' into 'develop'

Added: caddy webserver config example

Closes #192

See merge request pleroma/pleroma!189
This commit is contained in:
lambda 2018-06-03 19:52:48 +00:00
commit 04c584391c
1 changed files with 18 additions and 0 deletions

View 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
}
}