swps

Static Web Page Server
git clone https://noxz.tech/git/swps.git
Log | Files | LICENSE

swps.1
1.Dd $Mdocdate$
2.Dt SWPS 1
3.Os
4.Sh NAME
5.Nm swps
6.Nd Static Web Page Server
7.Sh SYNOPSIS
8.Nm
9.Ar port
10.Ar file
11.Op Ar -h
12.Sh DESCRIPTION
13The purpose of
14.Nm
15is to serve a single static
16.Ar file
17as a web server. Besides serving a
18file in the root, swps also handles 301, 403 and 404.
19.Pp
20.Sh OPTIONS
21.Bl -tag -width Ds
22.It Ar port
23Specifies the port on where to serve the file.
24.It Ar file
25Specifies what file to serve.
26.El