Skip to content

Commit

Permalink
fix: switch-off sni for kubernetes enbironments
Browse files Browse the repository at this point in the history
  • Loading branch information
drcgjung committed Jun 4, 2024
1 parent a906bb9 commit 221b65d
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ public static void main(String[] args) throws ConfigurationException, AssetConne

mainLogger.debug("Built persistenceConfig {}", persistenceConfig);

HttpEndpointConfig httpConfig = HttpEndpointConfig.builder().cors(true).port(8080).build();
HttpEndpointConfig httpConfig = HttpEndpointConfig
.builder()
.cors(true)
.port(8080)
.sni(false)
.build();

mainLogger.debug("Built httpConfig {}", httpConfig);

Expand Down

0 comments on commit 221b65d

Please sign in to comment.