Frame::App::Static - Serve `$ARGV[0] // cwd` over HTTPS with TLS 1.3 enabled by default on supported platforms (requires Net::SSLeay and IO::Socket::SSL)
$ [ env FRAMESTATIC_CONFIG=<config.toml> ] \
[ env FRAMESTATIC_NOLOGIN=1 ] \
[ env FRAMESTATIC_USER="$(whoami)" \
FRAMESTATIC_PWHASH=1 ] \
FRAMESTATIC [ . // $(pwd) ] [ -c,
--config config.toml ]
Frame::App::Static is a thin wrapper around Plack:App::Directory, Plack::Builder and other tools integral to the Plack/PSGI ecosystem bundled with Frame::Server (borrowed from the Frame web framework distribution), a non-blocking pre-forking PSGI application server that hosts a directory $ARGV [0] or the current working directory if invoked with no arguments. An optional directory listing may be enabled by setting FRAMESTATIC_AUTOINDEX to a truthy value in your environment
Copyright (C) Ian P Bradley.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Ian P Bradley ian.bradley@studiocrabapple.com ian@hikki.tech