Skip to content

marlencrabapple/Frame-App-Static

Repository files navigation

Actions Status

NAME

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)

SYNOPSIS

$ [ env FRAMESTATIC_CONFIG=<config.toml> ] \
  [ env FRAMESTATIC_NOLOGIN=1 ] \
  [ env FRAMESTATIC_USER="$(whoami)" \
        FRAMESTATIC_PWHASH=1 ] \
        FRAMESTATIC [ . // $(pwd) ] [ -c,
                --config config.toml ]

DESCRIPTION

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

LICENSE

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.

AUTHOR

Ian P Bradley ian.bradley@studiocrabapple.com ian@hikki.tech

About

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)

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages