summaryrefslogtreecommitdiff
path: root/infra/Caddyfile
diff options
context:
space:
mode:
Diffstat (limited to 'infra/Caddyfile')
-rw-r--r--infra/Caddyfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/infra/Caddyfile b/infra/Caddyfile
index 7975f68..140101d 100644
--- a/infra/Caddyfile
+++ b/infra/Caddyfile
@@ -42,6 +42,8 @@ https://www.{{BASE_DOMAIN}}:{{HTTPS_PORT}} {
https://{{SITE_HOST}}:{{HTTPS_PORT}} {
import https_security
+ redir /message {{CHAT_PUBLIC_ORIGIN}}/ permanent
+ redir /message/ {{CHAT_PUBLIC_ORIGIN}}/ permanent
root * /srv
file_server