projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d054d3
)
caddy config example
author
witti
<dev@witti.su>
Sun, 3 Jun 2018 18:13:33 +0000
(20:13 +0200)
committer
witti
<dev@witti.su>
Sun, 3 Jun 2018 18:13:33 +0000
(20:13 +0200)
installation/caddyfile-pleroma.example
[new file with mode: 0644]
patch
|
blob
diff --git a/installation/caddyfile-pleroma.example
b/installation/caddyfile-pleroma.example
new file mode 100644
(file)
index 0000000..
e0f9dc9
--- /dev/null
+++ b/
installation/caddyfile-pleroma.example
@@ -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
+ }
+}