quickauth

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 23 Imported by: 0

README

quickauth

A basic reverse proxy featuring a simple authentication web interface

中文文档

Installation

  • Build from source
git clone https://github.com/yankeguo/quickauth.git
cd quickauth
go build -o quickauth
  • Download from GitHub

View https://github.com/yankeguo/quickauth/releases for the latest release.

  • Docker
docker run -d -p 80:80 -e QUICKAUTH_TARGET=example.com yankeguo/quickauth

Environment Variables

  • QUICKAUTH_LISTEN: The listening address to listen on. Default is :80 (:443 when TLS is enabled).
  • QUICKAUTH_TARGET: The target address to proxy to.
  • QUICKAUTH_TARGET_INSECURE: Whether to ignore the certificate verification of the target. Default is false.
  • QUICKAUTH_USERNAME: The username for authentication.
  • QUICKAUTH_PASSWORD: The password for authentication.
  • QUICKAUTH_SECRET_KEY: The secret key for cookie signing.
  • QUICKAUTH_TITLE: The title of the web page. Default is Protected By QuickAuth.
  • QUICKAUTH_TLS_CERT: Path to the TLS certificate file. When set alongside QUICKAUTH_TLS_KEY, the server listens on HTTPS.
  • QUICKAUTH_TLS_KEY: Path to the TLS private key file.

Metics

GET /__quickauth/metrics
  • quickauth_proxy_http_requests_total: The total number of requests.
  • quickauth_proxy_http_requests_duration: The duration of requests.

Ready

GET /__quickauth/ready

Credits

GUO YANKE, MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL