Skip to content

Simple HTTP/2 server for static single page apps. Auto-redirect to the home page to handle front-end routing.

License

Notifications You must be signed in to change notification settings

D-Haven/spa-server

SPA SPA server

Go CodeQL Security Rating Vulnerabilities

Simple HTTP/2 server for static single page apps, complete with auto-redirect to the home page to handle front-end routing. Designed for a microservices based architecture, you can build up your deployment in a couple ways.

Extend the Docker Image

FROM spa-server:latest

COPY config.yaml /
COPY server.crt /
COPY server.key /
ADD www /www/