Initial commit; setting up raine to serve simple static site plus gitea.
This commit is contained in:
21
caddy/Caddyfile
Normal file
21
caddy/Caddyfile
Normal file
@@ -0,0 +1,21 @@
|
||||
# All sites are served over HTTP because Cloudflare tunnel handles TLS termination.
|
||||
# http:// prefix disables Caddy's automatic HTTPS since certs are managed upstream.
|
||||
|
||||
http://oversteep.com {
|
||||
encode zstd gzip
|
||||
root * /srv/oversteep.com
|
||||
file_server
|
||||
}
|
||||
|
||||
http://chunli.net {
|
||||
encode zstd gzip
|
||||
root * /srv/chunli.net
|
||||
file_server
|
||||
}
|
||||
|
||||
http://git.chunli.net {
|
||||
encode zstd gzip
|
||||
reverse_proxy host.docker.internal:3000 {
|
||||
header_up X-Forwarded-Proto https
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user