Add server.tomcat.port-header support
Update Tomcat ServerProperties to support the RemoteIpValve portHeader property. Fixes gh-1616
This commit is contained in:
@@ -74,7 +74,8 @@ content into your application; rather pick only the properties that you need.
|
||||
192\.168\.\d{1,3}\.\d{1,3}|\
|
||||
169\.254\.\d{1,3}\.\d{1,3}|\
|
||||
127\.\d{1,3}\.\d{1,3}\.\d{1,3} # regular expression matching trusted IP addresses
|
||||
server.tomcat.protocol-header=x-forwarded-proto # ssl forward headers
|
||||
server.tomcat.protocol-header=x-forwarded-proto # front end proxy forward header
|
||||
server.tomcat.port-header= # front end proxy port header
|
||||
server.tomcat.remote-ip-header=x-forwarded-for
|
||||
server.tomcat.basedir=/tmp # base dir (usually not needed, defaults to tmp)
|
||||
server.tomcat.background-processor-delay=30; # in seconds
|
||||
|
||||
Reference in New Issue
Block a user