diff --git a/framework/src/start/java/MoquiStart.java b/framework/src/start/java/MoquiStart.java index efa63eac8..7506f64ca 100644 --- a/framework/src/start/java/MoquiStart.java +++ b/framework/src/start/java/MoquiStart.java @@ -249,6 +249,9 @@ public static void main(String[] args) throws IOException { Object server = serverClass.getConstructor().newInstance(); Object httpConfig = httpConfigurationClass.getConstructor().newInstance(); + httpConfigurationClass + .getMethod("setSendServerVersion", boolean.class) + .invoke(httpConfig, false); // add ForwardedRequestCustomizer to handle Forwarded and X-Forwarded-* HTTP Request Headers // see https://javadoc.jetty.org/jetty-12.1/org/eclipse/jetty/server/ForwardedRequestCustomizer.html