-
-
11 Oct 2017 12:38:49 UTC
- Distribution: App-HTTPSThis
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (670 / 0 / 0)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (15.13KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- ARGUMENTS
- OPTIONS
- HOMEPAGE
- SOURCE
- BUGS
- AUTHOR
- COPYRIGHT AND LICENSE
NAME
https_this - Export the current directory over HTTPS
VERSION
This document describes version 0.001 of https_this (from Perl distribution App-HTTPSThis), released on 2017-10-11.
SYNOPSIS
## Export the current directory with HTTPS $ https_this ## Export the dir_name directory with HTTPS, specify SSL certificate and key $ https_this dir_name --ssl-cert server.crt --ssl-key server.key ## Start the server on a specific port $ https_this --port 9443 ## Announces the HTTPS server via Bonjour with the specified name $ https_this --name "My cool webserver" ## Show documentation about our options $ https_this --help ## Show the entire man page $ https_this --man
DESCRIPTION
Like http_this but uses HTTPS instead of HTTP. Will create a self-signed SSL certificate if SSL certificate/key is not specified.
TODO: Merge with App::HTTPThis.
ARGUMENTS
The script accepts a single optional argument: the path of the directory to export.
OPTIONS
The following options are available:
- --port PORT
-
Start the HTTPS server on a specific
PORT
. Default is 8443. - --name NAME
-
Announces the server over Bonjour.
This feature requires the Net::Rendezvous::Publish module and the appropriate backend for your operating system, both available from CPAN. If one of them cannot be found, a warning message will be displayed.
- --ssl-cert PATH
-
Specify SSL certificate file.
- --ssl-key PATH
-
Specify SSL key file.
- --help
-
Print information about the script usage and its options.
- --man
-
Print the entire man page for the command.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/App-HTTPSThis.
SOURCE
Source repository is at https://github.com/perlancar/perl-App-HTTPSThis.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-HTTPSThis
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install App::HTTPSThis, copy and paste the appropriate command in to your terminal.
cpanm App::HTTPSThis
perl -MCPAN -e shell install App::HTTPSThis
For more information on module installation, please visit the detailed CPAN module installation guide.