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