create Caddyfile and caddy/README.md

This commit is contained in:
thhsh-local 2025-03-05 20:39:35 -05:00
parent 7a634cf565
commit 0f808702c6
Signed by: thhsh-local
SSH key fingerprint: SHA256:bLOq3d7dN1v5+W5U6pQekP0rBm0YUtC9qvh3TDYyAsg
2 changed files with 16 additions and 0 deletions

10
caddy/Caddyfile Normal file
View file

@ -0,0 +1,10 @@
#
# Caddyfile for prod-sourcecamp-starcatsys
# /etc/caddy/Caddyfile
# After modifying, gracefully reload Caddy with `sudo systemctl reload caddy`
#
# Reverse proxy for Forgejo
git.starcat.systems {
reverse_proxy 127.0.0.1:3000
}

6
caddy/README.md Normal file
View file

@ -0,0 +1,6 @@
# Caddyfile
## what
The `Caddyfile` that configures [Caddy](https://caddyserver.com/), used as a reverse proxy for Forgejo.
## where
On the `prod-sourcecamp-starcatsys` server, this file is located at `/etc/caddy/Caddyfile`.