From 27ca704b79dd6c8c590fa56bb7610bd4f26ecfa1 Mon Sep 17 00:00:00 2001 From: Odyssey Date: Fri, 10 Feb 2023 21:07:46 +0100 Subject: [PATCH] Add Caddy setup (wow, that's an easy config) Signed-off-by: Odyssey --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 2cb4419..2150150 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,13 @@ go build -o gothub If you don't want to use port 3000 for GotHub, set the GOTHUB_PORT environment variable to the port you want to use. +### Web server configuration (Caddy) +We recommend Caddy for the web server, as it provides automatic HTTPS, HTTP/3 and is easy to setup. +```caddyfile +gothub.example.com { + reverse_proxy localhost:3000 +} +``` ## DMCA/Legal notice