diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/resources/application-http.properties b/maxkey-webs/maxkey-web-maxkey/src/main/resources/application-maxkey.properties similarity index 100% rename from maxkey-webs/maxkey-web-maxkey/src/main/resources/application-http.properties rename to maxkey-webs/maxkey-web-maxkey/src/main/resources/application-maxkey.properties diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/resources/application.properties b/maxkey-webs/maxkey-web-maxkey/src/main/resources/application.properties index bbfcbbbb..46a0efa9 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/resources/application.properties +++ b/maxkey-webs/maxkey-web-maxkey/src/main/resources/application.properties @@ -25,7 +25,7 @@ spring.application.name =maxkey spring.main.banner-mode =log #spring.main.allow-bean-definition-overriding=true ############################################################################ -#spring.profiles.active https/http; default https # +#spring.profiles.active maxkey # ############################################################################ -spring.profiles.active =${SERVER_PROFILES:http} +spring.profiles.active =${SERVER_PROFILES:maxkey} diff --git a/maxkey-webs/maxkey-web-mgt/src/main/resources/application-http.properties b/maxkey-webs/maxkey-web-mgt/src/main/resources/application-maxkey-mgt.properties similarity index 100% rename from maxkey-webs/maxkey-web-mgt/src/main/resources/application-http.properties rename to maxkey-webs/maxkey-web-mgt/src/main/resources/application-maxkey-mgt.properties diff --git a/maxkey-webs/maxkey-web-mgt/src/main/resources/application.properties b/maxkey-webs/maxkey-web-mgt/src/main/resources/application.properties index f96d61a6..14658ffa 100644 --- a/maxkey-webs/maxkey-web-mgt/src/main/resources/application.properties +++ b/maxkey-webs/maxkey-web-mgt/src/main/resources/application.properties @@ -25,6 +25,6 @@ spring.application.name =maxkey-mgt spring.main.banner-mode =log #spring.main.allow-bean-definition-overriding =true ############################################################################ -#spring.profiles.active http; default http # +#spring.profiles.active maxkey-mgt # ############################################################################ -spring.profiles.active =http +spring.profiles.active ==${SERVER_PROFILES:maxkey-mgt}