mirror of
https://gitee.com/dromara/MaxKey.git
synced 2026-05-14 12:32:09 +08:00
v 3.3.3 GA
增加SERVER_PROFILES,SERVER_PORT,SERVER_SESSION_TIMEOUT的环境参数
This commit is contained in:
@@ -16,11 +16,11 @@
|
||||
#spring.profiles.active=http #
|
||||
############################################################################
|
||||
#server port
|
||||
server.port =8080
|
||||
server.port =${SERVER_PORT:8080}
|
||||
#session default 1800
|
||||
#1800s =30m
|
||||
#28800s=8h
|
||||
server.servlet.session.timeout =1800
|
||||
server.servlet.session.timeout =${SERVER_SESSION_TIMEOUT:1800}
|
||||
#server context path
|
||||
server.servlet.context-path =/maxkey
|
||||
#nacos discovery
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
#spring.profiles.active=http #
|
||||
############################################################################
|
||||
#server port
|
||||
server.port =443
|
||||
server.port =${SERVER_PORT:443}
|
||||
#session default 1800
|
||||
#1800s =30m
|
||||
#28800s=8h
|
||||
server.servlet.session.timeout =1800
|
||||
server.servlet.session.timeout =${SERVER_SESSION_TIMEOUT:1800}
|
||||
#server context path
|
||||
server.servlet.context-path =/maxkey
|
||||
#nacos discovery
|
||||
|
||||
@@ -27,5 +27,5 @@ spring.main.banner-mode =log
|
||||
############################################################################
|
||||
#spring.profiles.active https/http; default https #
|
||||
############################################################################
|
||||
spring.profiles.active =https
|
||||
spring.profiles.active =${SERVER_PROFILES:https}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#MaxKey Server configuration #
|
||||
############################################################################
|
||||
#server port
|
||||
server.port =9527
|
||||
server.port =${SERVER_PORT:9527}
|
||||
#server context path
|
||||
server.servlet.context-path =/maxkey-mgt
|
||||
#nacos discovery
|
||||
|
||||
Reference in New Issue
Block a user