Skip to main content

HTTP server over SSL/TLS with an automatically generated self-signed certificate

Project description

httpself

HTTP server over SSL/TLS with an automatically generated self-signed certificate.

Usage

Serve static files from the current working directory:

$ https [-p/--port <NNNN>] [--public]

Example #1

By default, the server runs on port number 443, which requires superuser privileges. Note that the server will only be accessible from the localhost:

$ https
Running server at https://localhost:443

Example #2

To specify an alternative port number:

$ https --port 8443
Running server at https://localhost:8443

Example #3

To make the server accessible from other devices:

$ https --public
Running server at https://0.0.0.0:443

Example #4

To run the server publicly on a custom port:

$ https --public -p 8443
Running server at https://0.0.0.0:8443

Installation

$ pip install httpself

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for httpself, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size httpself-1.0.0-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size httpself-1.0.0.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page