Commit 971f90c8 authored by Dave Cridland's avatar Dave Cridland

Merge pull request #126 from Seanster/patch-1

fix enabling https admin port without http enabled
parents 75785ab9 80315cd7
......@@ -165,7 +165,8 @@ public class AdminConsolePlugin implements Plugin {
httpsConnector = new HTTPSPDYServerConnector(adminServer, sslContextFactory);
} else {
HttpConfiguration httpsConfig = new HttpConfiguration(httpConfig);
HttpConfiguration httpsConfig = new HttpConfiguration();
httpsConfig.setSendServerVersion( false );
httpsConfig.setSecureScheme("https");
httpsConfig.setSecurePort(adminSecurePort);
httpsConfig.addCustomizer(new SecureRequestCustomizer());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment