ConceptsServices
Static sites
A static site is a folder of files that nginx serves behind the proxy.
A browser asks for /about. The proxy sends the request to nginx.
1 / 3
A static site is files that nginx serves behind the proxy. A build step before that is optional: npm run build, Hugo, MkDocs, Jekyll…
Ferry makes the image: an nginx:alpine server that listens on port 80.
Create a static site
ferry up my-site --type static --dir ./publicHow nginx finds a page
For /about, nginx serves about.html or about/index.html.
For the exact rules, the build step and the publish directory, see Static sites in Builds.