Categorygithub.com/soerenschneider/aplos
repositorypackage
1.1.0
Repository: https://github.com/soerenschneider/aplos.git
Documentation: pkg.go.dev

# README

aplos

Features

🎯 Dead simple HTTP fileserver with secure defaults
🔍 Zero dependencies
🔒 Supports encryption via TLS
🩺 Health check endpoint

Configuration

Env VarFlagDefaultHelp
APLOS_ADDR-a127.0.0.1:8080The address to run the server on
APLOS_DIRECTORY-d/pubThe directory to serve
APLOS_TLS_CRT_FILE-cFile that contains the TLS certificate
APLOS_TLS_KEY_FILE-kFile that contains the TLS private key
APLOS_HEALTH_PATTERN-p/_healthPattern where to expose the healthcheck handler. Set to "" to disable the health check handler.

Run it

docker run -v /data:/data -e APLOS_ADDR=:8080 ghcr.io/soerenschneider/aplos