2019年6月

SpringBoot Sample Config

jdbc

spring.main.web-application-type=none
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/realtime?characterEncoding=UTF-8&serverTimezone=UTC&autoReconnect=true&failOverReadOnly=false
spring.datasource.username=root
spring.datasource.password=
spring.datasource.tomcat.initial-size=1
spring.datasource.tomcat.max-active=5
spring.datasource.tomcat.max-idle=5
spring.datasource.tomcat.min-idle=1

Caddy Config

Caddy Config for ReactJS

inew.local {
    root d:/work/project/study/wuhan-screen-develop/build
    rewrite {
        to {path} {path}/ /index.html
    }
}

inew.local/boss30/api {
    proxy / http://inew.unovo.com {
        header_upstream Host {proxy_host}
    }
}
www.000webhost.com