Add Caddy setup (wow, that's an easy config)

Signed-off-by: Odyssey <hi@odyssey346.dev>
This commit is contained in:
Odyssey
2023-02-10 21:07:46 +01:00
parent 0ab53de79c
commit 27ca704b79
+7
View File
@@ -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