【文件属性】:
文件名称:httpredirect:用 Golang 编写的 Http Server 进行简单的重定向。 它支持 ssl、vhosts、简单的服务文件、http 重定向
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-02 01:23:20
Go
http重定向
用 Golang 编写的 Http Server 进行简单的重定向。
它支持 ssl、vhosts、简单的服务文件、http 重定向
安装
为您的发行版下载。
或者从源码,先安装 ,然后执行这个命令
go install github.com/llgcode/httpredirect
跑步
$ httpredirect.exe --help
Usage of httpredirect.exe:
-log="": Define log file
-router="router.json": Define router file
-sslCert="": Path to certificate file
-sslKey="": Path to key file
路由器文件
{
" Port " : 80 ,
" Redirections " : [
【文件预览】:
httpredirect-master
----LICENSE(11KB)
----router.json(458B)
----main.go(3KB)
----.gitignore(266B)
----README.md(1KB)