Redirects www. subdomains to their non-www equivalents over HTTPS with 301 status code.
950
A lightweight Go service that redirects www. subdomains to their non-www equivalents over HTTPS with 301 status code.
http://www.example.com/path → https://example.com/path
www. prefix and redirects to HTTPSdocker compose up -d
go build -o www-redirect .
./www-redirect
Service listens on 0.0.0.0:8080.
This service is designed to run behind a reverse proxy (e.g., nginx) that handles SSL termination. See nginx.conf.example for configuration reference.
MIT
Content type
Image
Digest
sha256:cc2b6a470…
Size
2.3 MB
Last updated
10 months ago
docker pull showfom/www-redirect