How to serve static sites?

SSLcat includes a high‑performance static server, perfect for documentation, landing pages, and SPA frontends.

Quickstart (Admin Panel)

  1. Login → Sites → New site
  2. Type: Static Site
  3. Set domain (e.g. www.example.com) and document root (e.g. /var/www/example)
  4. Optional: index files, directory listing, cache policy
  5. Save

Common settings

Example (YAML)

static_sites:
  - domain: "www.example.com"
    root: "/var/www/example"
    index_files: ["index.html", "index.htm"]
    enable_dir_listing: false
    cache_control: "public, max-age=3600"
    large_file_threshold_bytes: 104857600
    

Troubleshooting