From: Felix Dörre Date: Fri, 20 Jun 2014 16:05:02 +0000 (+0200) Subject: Hide X-Powered-By and Server header X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=f773028d5189066962d5528faf170e5d7d51fbc8 Hide X-Powered-By and Server header --- diff --git a/src/org/cacert/gigi/Launcher.java b/src/org/cacert/gigi/Launcher.java index 2c8c1f53..69180747 100644 --- a/src/org/cacert/gigi/Launcher.java +++ b/src/org/cacert/gigi/Launcher.java @@ -30,6 +30,9 @@ public class Launcher { Server s = new Server(); // === SSL HTTP Configuration === HttpConfiguration https_config = new HttpConfiguration(); + https_config.setSendServerVersion(false); + https_config.setSendXPoweredBy(false); + // for client-cert auth https_config.addCustomizer(new SecureRequestCustomizer());