# go-proxy-https **Repository Path**: Ypeng/go-proxy-https ## Basic Information - **Project Name**: go-proxy-https - **Description**: 一行命令使用https服务转发http服务 - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-18 - **Last Updated**: 2023-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # go-proxy-https #### 介绍 一行命令使用https服务转发http服务,自动生成自签名证书 #### 软件架构 go #### 安装教程 1. 初始化 ```shell go mod init main.go go mod tidy ``` 2. 本地运行 ``` go run main.go -ip 0.0.0.0 -port 1443 -target http://10.2.2.1:8089/ -org MyOrg -ou MyUnit ``` 3. 部署 ``` make 打开exe目录,并执行对应的执行文件 苹果x86机器:exe/https-proxy-serve_x86.dmg 苹果M系列:exe/https-proxy-serve_arm64.dmg window电脑:exe/https-proxy-serve.exe linux服务器: exe/https-proxy-serve ``` #### 使用说明 参数说明 ``` -ip:代理服务器的 IP 地址。 -port:代理服务器的端口号。 -target:目标服务器的 URL。 -org:组织名称。 -ou:组织单位名称t。 ``` #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)