Install this app
In your Cloudron dashboard, open the App Store, choose "Community apps" and paste this URL:
https://codeberg.org/TheMeerkat/Simple-Static/raw/branch/main/CloudronVersions.json
Description
A lightweight, configurable static file server for Cloudron with proper caching, compression, and SPA support.
Features
- Proper caching — Configurable
Cache-ControlandETagheaders - Gzip compression — On-the-fly and pre-compressed
.gzfile support - SPA mode —
try_filesfallback for single-page applications - Custom headers — Global and pattern-specific response headers
- Redirects — Prefix and regex-based redirects (301/302)
- Custom error pages — Per-status-code HTML error pages
- Directory listing — Optional auto-index with file sizes and dates
- IP access control — Allow/deny by IP address
- Configurable via YAML — Full control through
/app/data/config.ymlwithout touching nginx
Upload files via SFTP or the Cloudron File Manager.
Recent Changes
Move the default landing page styles to a shared stylesheet (
digitalrust.css).Add default 404 and 500 error page templates. First run copies them to
/app/data/errors/.Enable the error pages in
config.ymlwith theerror_pagesoption.Update the base image to
cloudron/base:5.1.0.Pin PyYAML to version 6.0.3. This keeps builds reproducible.
