Vacuna is a simple HTTP server for static websites, focusing on simplifying self-hosting of sites that do not need server side logic, optimizing around this use cases, providing features like automatic detection of websites from defined folders, files pre-compression and automatic support of SSL certificates through acme.
Example minimal configuration
server {
listen "0.0.0.0:80"
listen "0.0.0.0:443" {
ssl {
acme {
contacts "test@example.com"
store "/var/lib/certs/"
}
}
}
// auto scan the configured folder and consider each sub-folder as a website, it will use
// the name of the folder as the name of the website,
// if ssl acme is active will automatically create also SSL certs
auto "/var/www/"
}
Installation instructions
Features
- Http Server
- Https Server
- certs folder allow specifying the folder where to search for the ssl certs
- ACME allow generating certs trough acme protocol
- Multiple domains Allow to server multiple websites with different domains and content
- Auto mode Automatic detection of domains from folders names
- Proxy minimal support for proxy path ... (I did not want this .. but I needed this).
- Path Config Allow to configure a path
- Remap specify a different filesystem location for a path
- Headers Allow to specify custom headers
- Index Specify the file name to be used as index for the folder path
- File Listing list the file of the folder if the index is missing
- Pre-compression support pre compressed files for specific compression algorithms with configurable extension
- Logging Allow to specify logging level based on error code
Use Cases Examples
Automatic Sites | Pre-Compression
Used By
(if you are using vacuna and you want to list your website here open a MR here)