spa-server

module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2022 License: Apache-2.0

README

SPA Server

@todo write this

How to run

docker run -it -p 80:80 -p 443:443 ghcr.io/rainthief/spa-server/spa-server:latest

// Only matches if domain is "www.example.com". r.Host("www.example.com") // Matches a dynamic subdomain. r.Host("{subdomain:[a-z]+}.domain.com")

run_dev.sh

document all optional config options and remove from config yaml

if you edit health check and healthcheck port you need to edit docker file and rebuild

CONFIG DEFAULTS disableHealthCheck: false healthCheckPort: 8079

it is an spa server so returns main index page, static file found or directory index (optional)

Directories

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL