georchestra / mapstore2-georchestra

geOrchestra newest viewer
Other
6 stars 23 forks source link

Add tomcat server xml to hide version #711

Closed f-necas closed 1 month ago

f-necas commented 2 months ago

PR hides tomcat version in error pages. I added a server.xml because port is different upstream 8082 instead of 8080 for docker.

@tdipisa Don't know if it's relevant to propose it upstream.

Code involved :

        <Valve className="org.apache.catalina.valves.ErrorReportValve"
               showReport="false"
               showServerInfo="false"/>
tdipisa commented 2 months ago

@f-necas

@tdipisa Don't know if it's relevant to propose it upstream

Feel free to raise a PR for the official MS master if you can. Thank you so much for contributing this.