Skip to content

Commit

Permalink
Missing x-forwarded-port (#230)
Browse files Browse the repository at this point in the history
Co-authored-by: Nigel Banks <[email protected]:w>
  • Loading branch information
nigelgbanks and Nigel Banks authored Jun 19, 2022
1 parent b8c3502 commit e9b2f7b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tomcat/rootfs/etc/confd/templates/server.xml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,11 @@
pattern="%h %l %u %t &quot;%r&quot; %s %b"
rotatable="false"/>

<Valve className="org.apache.catalina.valves.RemoteIpValve"
remoteIpHeader="x-forwarded-for"
proxiesHeader="x-forwarded-by"
protocolHeader="x-forwarded-proto" />
<Valve className="org.apache.catalina.valves.RemoteIpValve"
remoteIpHeader="x-forwarded-for"
proxiesHeader="x-forwarded-by"
protocolHeader="x-forwarded-proto"
portHeader="x-forwarded-port"/>

</Host>
</Engine>
Expand Down

0 comments on commit e9b2f7b

Please sign in to comment.