docs/Publish a local static site
Updated 2026-106 min read

Publish a local static site

This walkthrough publishes a static site you already built, covering both Windows and Linux.

1 Get the software

Download the package for your platform from the release page:

  • Windows: fast-https_Windows_x86_64.zip
  • Linux: fast-https_Linux_x86_64.tar.gz

Release page

Pick your platform

2 Windows setup

Unzip the package

Unzip the downloaded archive first:

Unzip the package

Put the static files in place

Copy your built site into the publishing folder (default ./httpdoc/root) and make sure it contains index.html:

Upload the static files

Edit the configuration

Open fast-https.conf in the config folder and point root at your static folder:

Edit the configuration

{
  "listen": 8080,
  "server_name": "localhost",
  "location": [
    { "url": "/", "type": "local", "root": "./httpdoc/root", "index": ["index.html", "index.htm"] }
  ]
}

Start the manager

Run monitor.exe and start the service from the tray icon:

Start the manager

Tray icon

Open http://localhost:8080/index.html and the site shows up:

Running site

3 Linux setup

3.1 Upload the static files

Copy the static files into the publishing folder (default ./httpdoc/root):

Upload the static files

3.2 Edit the configuration

Edit config/fast-https.json, set server_name to the server IP and confirm root points at the static folder.

$ cat ./config/fast-https.json

3.3 Start and test

$ ./fast-https
# or run it in the background
$ nohup ./fast-https &

Start the service

Test result