stackapRequest access

Frameworks

Astro on Stackap

Stackap builds a static Astro site in a container and serves the output from nginx with genuine 404 responses; an Astro project that uses a server adapter is deliberately not treated as static.

How Stackap recognizes Astro

A project is treated as a static site when it has a build script, lists astro as a dependency, and does not list a server adapter. The adapters that disqualify it from the static path are @astrojs/node, @astrojs/vercel and @astrojs/netlify, because those produce server code, not files. The same static path serves Docusaurus, Gatsby, Eleventy and VitePress.

What Stackap builds

The image builds your site with the package manager the lockfile implies and copies the output into nginx. Unlike the single-page-app path, unknown URLs return a real 404 page, which is what a content site wants for search engines.

Because nothing runs on the server, there is nothing to start, nothing to crash and almost no memory use. It is the cheapest kind of app to host on one box.

What a Astro project needs

Verification status

The static-site path is covered by a real Docker build in the platform's test suite. This site, www.stackap.com, is itself a static site served by a similar nginx container, built from its own Dockerfile, though it is generated by a Python script and not by Astro.

Still to verify: an Astro project built end to end by us. We have not shipped an Astro site on Stackap, so treat Astro-specific behavior, such as content collections or image optimization at build time, as unverified. An Astro project with a server adapter is either treated as a Node app, if it has a start script, or refused with an explanation.

Early-access scope

Questions

Can I use Astro with SSR?
Not through the static path. With a server adapter it would need to run as a Node app, which is untested for Astro, so we do not claim it works.
Does it return real 404s?
Yes. Static-site frameworks are served with true 404 responses, unlike single-page apps.

Stackap is in early access. Tell us what you run and we will reply with a straight answer about whether it fits.

Ask for an invitation

Last updated .