Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyejing/fast-ngrok
Java版本ngrok客户端,集成spring-boot随应用启动快速映射内网地址
https://github.com/cyejing/fast-ngrok
ngrok spring spring-boot springboot
Last synced: 8 days ago
JSON representation
Java版本ngrok客户端,集成spring-boot随应用启动快速映射内网地址
- Host: GitHub
- URL: https://github.com/cyejing/fast-ngrok
- Owner: cyejing
- License: apache-2.0
- Created: 2017-10-06T08:42:47.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-12T09:48:35.000Z (about 7 years ago)
- Last Synced: 2024-10-31T10:42:55.225Z (15 days ago)
- Topics: ngrok, spring, spring-boot, springboot
- Language: Java
- Homepage:
- Size: 36.1 KB
- Stars: 59
- Watchers: 9
- Forks: 28
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Fast-Ngrok
Java版本Ngrok客户端,集成spring-boot随应用启动快速映射应用端口
### 使用方法
1. 添加POM依赖:
```
cn.cyejing
fast-ngrok-starter
1.0.1```
2. 启动spring-boot应用可以在日志看到映射的地址.
### 默认配置
可以不用填写配置启动项目,如果想修改默认配置,有以下配置项:
1. 简单配置项
```
ngrok.serevr-address=b.cyejing.cn ngrok的服务地址
ngrok.server-port=4443 ngrok的服务端口
ngrok.subdomain=自定义子域名,不填则是随机
```
2. 增强配置项
```
ngrok.enabled=true 打开ngrok映射
ngrok.hostname=自定义域名,如:yourdomain.com
ngrok.httpAuth=访问授权,如:user:password
`````ngrok``,``spring``,``spring boot``,``spring-boot``,``springboot``,``内网映射``,``内网穿透``,``微信开发``,``接口回调``