gitea-pages/Caddyfile

19 lines
406 B
Caddyfile
Raw Normal View History

# caddy reload --config /etc/caddy/Caddyfile
2024-06-23 13:55:53 +02:00
{
order gitea before file_server
}
:3003
gitea {
token {$GITEA_ACCESS_TOKEN} # Settings > Applications > Generate Token
server {$GITEA_HOST} # https://yourgitea.yourdomain.com
2024-06-23 13:55:53 +02:00
domain {$PAGES_DOMAIN} # pages.yourdomain.com
}
@js {
path *.js
}
header @js {
Content-Type text/javascript # https://gitea.djmil.dev/djmil/gitea-pages/issues/3
}