From 0e07a2773da2e5605e95a4229eecfdd44f196c6f Mon Sep 17 00:00:00 2001 From: Pyrox Date: Thu, 11 May 2023 09:25:08 -0400 Subject: [PATCH] docs: Add configuration for Caddy --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6577e45a21..79bd8f86cb 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ If you have access to a server that supports one of the sources below, I recomme - Web Proxy (one of the following) - 🍀 Nginx (recommended) - 🪶 Apache + - 🦦 Caddy ### 😗 Optional dependencies @@ -183,7 +184,15 @@ For migrating from Misskey v13, Misskey v12, and Foundkey, read [this document]( - Run `sudo a2ensite calckey.apache` to enable the site - Run `sudo service apache2 restart` to reload apache2 configuration - +### 🦦 Caddy + +- Add the following block to your `Caddyfile`, replacing `example.tld` with your own domain: +```caddy +example.tld { + reverse_proxy http://127.0.0.1:3000 +} +``` +- Reload your caddy configuration ## 🚀 Build and launch!