zs5460 / redirect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redirect

Build Status

Intro

redirect is a redirector. Automatically bind domain names to HTTP and HTTPS, and 301 redirect to the specified URL. Generally used to divert traffic from the old domain name to the new domain name when changing the domain name.

Download

releases

TODO

  • Add management interface, online management, effective immediately.

FAQ

How can I listen on ports 80 and 443? Do I have to run as root?

On Linux, you can use setcap to grant your binary the permission to bind low ports:

sudo setcap cap_net_bind_service=+ep /path/to/your/binary

Licence

Released under MIT license, see LICENSE for details.

About

License:MIT License


Languages

Language:Go 100.0%