Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Bordet2015-08-11 06:17:24 -0400
committerSimone Bordet2015-08-11 06:17:24 -0400
commitaa684a5dccd76d765b1e2376af3f76291c8b1333 (patch)
treefec77d8773b9b3aca890b9aa0c339b23c606fce8 /jetty-server/src/main/config/etc/jetty-proxy-protocol-ssl.xml
parent88372913937a5e491dd97679e0e8cba046f0ff1d (diff)
downloadorg.eclipse.jetty.project-aa684a5dccd76d765b1e2376af3f76291c8b1333.tar.gz
org.eclipse.jetty.project-aa684a5dccd76d765b1e2376af3f76291c8b1333.tar.xz
org.eclipse.jetty.project-aa684a5dccd76d765b1e2376af3f76291c8b1333.zip
470311 - Introduce a proxy-protocol module.
Support for the PROXY protocol is now enabled via 2 new modules: proxy-protocol and proxy-protocol-ssl, respectively for the HTTP connector and the SSL connector.
Diffstat (limited to 'jetty-server/src/main/config/etc/jetty-proxy-protocol-ssl.xml')
-rw-r--r--jetty-server/src/main/config/etc/jetty-proxy-protocol-ssl.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/jetty-server/src/main/config/etc/jetty-proxy-protocol-ssl.xml b/jetty-server/src/main/config/etc/jetty-proxy-protocol-ssl.xml
new file mode 100644
index 0000000000..91452f2738
--- /dev/null
+++ b/jetty-server/src/main/config/etc/jetty-proxy-protocol-ssl.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
+
+<Configure id="sslConnector" class="org.eclipse.jetty.server.ServerConnector">
+ <Call name="addFirstConnectionFactory">
+ <Arg>
+ <New class="org.eclipse.jetty.server.ProxyConnectionFactory"/>
+ </Arg>
+ </Call>
+</Configure>

Back to the top