Example docker-compose service config to automatically build a static site using Gitea and Webhook. Accompaniment to the 'It seems I can contain myself' article on barilaro.me.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
229 B

www.yourdomain.com { # Redirect WWW to non-WWW
redir https://yourdomain.com{uri} permanent
}
yourdomain.com { # Main site
file_server browse
root * /site
}
git.yourdomain.com{ # Gitea reverse proxy
reverse_proxy gitea:3000
}