summaryrefslogtreecommitdiff
path: root/infra/Caddyfile.local
diff options
context:
space:
mode:
Diffstat (limited to 'infra/Caddyfile.local')
-rw-r--r--infra/Caddyfile.local2
1 files changed, 2 insertions, 0 deletions
diff --git a/infra/Caddyfile.local b/infra/Caddyfile.local
index 6f81a0a..94114f9 100644
--- a/infra/Caddyfile.local
+++ b/infra/Caddyfile.local
@@ -14,6 +14,8 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
:80 {
+ redir /message {{CHAT_PUBLIC_ORIGIN}}/ permanent
+ redir /message/ {{CHAT_PUBLIC_ORIGIN}}/ permanent
redir /git /git/?{query} permanent
redir /search /search/?{query} permanent
@git path /git /git/* /cgit.js /cgit.png