This project uses NGINX in front of Jekyll to serve any number of single-page static sites from one or more shared templates.
See CONTRIBUTING.md
- You can use a wildcard domain and tweak the NGINX configuration to serve sites on subdomains instead.
- Your Heroku app must set
NGINX_WAIT_ENABLED=0
in config variables orbin/start-nginx
(from the NGINX Heroku buildpack) will hang waiting for/tmp/nginx.socket
to be created. - Heroku's official static site buildpack does not offer sufficiently low-level configuration for the NGINX setup we need, and the original NGINX buildpack is outdated and does not support the
heroku-16
stack.