Coder Social home page Coder Social logo

minlia-cross's Introduction

更新日志

1.0.9.RELEASE 修复与SPRING现有项目集成时任务执行器的问题

1.0.6.RELEASE 添加可以自定义二级域名的功能

1.0.5.RELEASE 修复在客户端调试的情况下服务端发送至客户端请求由于超时的服务端强制关闭连接的问题.

Minlia Cross 使用NGROK提供外部域名访问

使用方式,已发布到MAVEN**库, 在当前项目中添加如下依赖即可

    <dependency>
      <groupId>com.minlia.cross</groupId>
      <artifactId>minlia-cross</artifactId>
      <version>1.0.9.RELEASE</version>
    </dependency>

使用服务器随机端口

server.port=0

自定义二级域名

application.properties里添加

minlia.cross.subdomain=willv8

默认配置

#让服务器动态分配一个端口
server.port=0

#指定固定二级域名
minlia.cross.subdomain=随机分配的二级域名

#指定固定一级域名
#默认为以下配置
# minlia.cross.remoteServer=dev.chinfan.io
# minlia.cross.remotePort=4443
# minlia.cross.localhost=127.0.0.1
# minlia.cross.localPort=8080

演示项目(基于spring boot 官方项目 https://start.spring.io/starter.zip )

git clone https://github.com/minlia-projects/minlia-cross
cd docs/demo && mvn spring-boot:run

运行效果

Startup

Result in Browser

特别感谢

ngrok为我们提供这么好用的软件, 大大节省外网服务器的部署成本

dosgo提供了java版本的底层实现

minlia-cross's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.