Skip to content

Releases: Pliexe/https-web-server-example

0.1.4

Choose a tag to compare

@Pliexe Pliexe released this 25 Jan 01:54

What's Changed

Full Changelog: 0.1.3...0.1.4

Usage

To run the server, use the following command:

https-web-server-example [OPTIONS] [PATH]

Arguments

  • PATH: Directory to serve (default: current directory)

Options

  • --cert <CERT>: Path to SSL certificate (default certs/localhost.pem)
  • --key <KEY>: Path to SSL private key (default certs/localhost-key.pem)
  • -p, --port <PORT>: Set the port number (default: 8080)
  • -s [PORT], --ssl [PORT]: Enable SSL and optionally set the port (default: 8443)
  • --enable-shared-buffer, --shared-buffer, --sharedbuf, --mt: Enable support for shared buffers (default: false)
  • --disable-cache, --no-cache, --nc: Disable cache (Cache-Control: no-cache) (default: false)
  • -h, --help: Display help information
  • -V, --version: Display version information

Examples

# Serve current directory on HTTP port 8080
https-web-server

# Serve specific directory on port 3000
https-web-server -p 3000 /path/to/directory

# Enable HTTPS with self-signed certificate
https-web-server -s

# Use custom SSL certificate
https-web-server -s --cert cert.pem --key key.pem

0.1.3 - Fixed handling for br and gz files + added aliases

Choose a tag to compare

@Pliexe Pliexe released this 23 Jan 02:14
951ea40

What's Changed

Full Changelog: 0.1.2...0.1.3

Usage

To run the server, use the following command:

https-web-server-example [OPTIONS] [PATH]

Arguments

  • PATH: Directory to serve (default: current directory)

Options

  • --cert <CERT>: Path to SSL certificate (default certs/localhost.pem)
  • --key <KEY>: Path to SSL private key (default certs/localhost-key.pem)
  • -p, --port <PORT>: Set the port number (default: 8080)
  • -s [PORT], --ssl [PORT]: Enable SSL and optionally set the port (default: 8443)
  • --enable-shared-buffer, --shared-buffer, --sharedbuf, --mt: Enable support for shared buffers (default: false)
  • --disable-cache, --no-cache, --nc: Disable cache (Cache-Control: no-cache) (default: false)
  • -h, --help: Display help information
  • -V, --version: Display version information

Examples

# Serve current directory on HTTP port 8080
https-web-server

# Serve specific directory on port 3000
https-web-server -p 3000 /path/to/directory

# Enable HTTPS with self-signed certificate
https-web-server -s

# Use custom SSL certificate
https-web-server -s --cert cert.pem --key key.pem

0.1.2 - Added features.

Choose a tag to compare

@Pliexe Pliexe released this 22 Jan 19:37
b70ae39

What's Changed

  • Merge Rust into main branch by @Pliexe in #1

Full Changelog: https://github.com/Pliexe/https-web-server-example/commits/0.1.2

  • Added way to enable new SharedArrrayBuffer()
  • Added way to disable browser caching.

Usage

To run the server, use the following command:

https-web-server-example [OPTIONS] [PATH]

Arguments

  • PATH: Directory to serve (default: current directory)

Options

  • --cert <CERT>: Path to SSL certificate (default certs/localhost.pem)
  • --key <KEY>: Path to SSL private key (default certs/localhost-key.pem)
  • -p, --port <PORT>: Set the port number (default: 8080)
  • -s, --ssl: Enable SSL and optionally set the port (default: 8443)
  • --enable-shared-buf: Enable support for shared buffers (default: false)
  • --disable_cache: Disable cache (Cache-Control: no-cache) (default: false)
  • -h, --help: Display help information
  • -V, --version: Display version information

Examples

# Serve current directory on HTTP port 8080
https-web-server

# Serve specific directory on port 3000
https-web-server -p 3000 /path/to/directory

# Enable HTTPS with self-signed certificate
https-web-server -s

# Use custom SSL certificate
https-web-server -s --cert cert.pem --key key.pem

0.1.1 - Le funny order made me re-release

Choose a tag to compare

@Pliexe Pliexe released this 20 Jan 21:54

Full Changelog: https://github.com/Pliexe/https-web-server-example/commits/0.1.1

Usage

To run the server, use the following command:

https-web-server-example [OPTIONS] [PATH]

Arguments

  • PATH: Directory to serve (default: current directory)

Options

  • --cert <CERT>: Path to SSL certificate (default certs/localhost.pem)
  • --key <KEY>: Path to SSL private key (default certs/localhost-key.pem)
  • -p, --port <PORT>: Set the port number (default: 8080)
  • -s, --ssl: Enable SSL and optionally set the port (default: 8443)
  • -h, --help: Display help information
  • -V, --version: Display version information

Examples

# Serve current directory on HTTP port 8080
https-web-server

# Serve specific directory on port 3000
https-web-server -p 3000 /path/to/directory

# Enable HTTPS with self-signed certificate
https-web-server -s

# Use custom SSL certificate
https-web-server -s --cert cert.pem --key key.pem

Initial release.

Choose a tag to compare

@Pliexe Pliexe released this 20 Jan 21:26

Full Changelog: https://github.com/Pliexe/https-web-server-example/commits/0.1.0

Usage

To run the server, use the following command:

https-web-server-example [OPTIONS] [PATH]

Arguments

  • PATH: Directory to serve (default: current directory)

Options

  • --cert <CERT>: Path to SSL certificate (default certs/localhost.pem)
  • --key <KEY>: Path to SSL private key (default certs/localhost-key.pem)
  • -p, --port <PORT>: Set the port number (default: 8080)
  • -s, --ssl: Enable SSL and optionally set the port (default: 8443)
  • -h, --help: Display help information
  • -V, --version: Display version information

Examples

# Serve current directory on HTTP port 8080
https-web-server

# Serve specific directory on port 3000
https-web-server -p 3000 /path/to/directory

# Enable HTTPS with self-signed certificate
https-web-server -s

# Use custom SSL certificate
https-web-server -s --cert cert.pem --key key.pem