Skip to content

Commit

Permalink
Merge pull request #116 from idealista/develop
Browse files Browse the repository at this point in the history
Release 1.10.3
  • Loading branch information
antonioarenzanapulido authored Jan 13, 2022
2 parents 1135717 + 9a9e93f commit 2f7ce70
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a ch

## [Unreleased](https://github.com/idealista/tomcat_role/tree/develop)

## [1.10.3](https://github.com/idealista/tomcat_role/tree/1.10.3)
[Full Changelog](https://github.com/idealista/tomcat_role/compare/1.10.2...1.10.3)
### Added
- *[#114](https://github.com/idealista/tomcat_role/issues/114) Hide Tomcat version on error pages* @aren-pulid0

## [1.10.2](https://github.com/idealista/tomcat_role/tree/1.10.2)
[Full Changelog](https://github.com/idealista/tomcat_role/compare/1.10.1...1.10.2)
Expand Down
6 changes: 5 additions & 1 deletion templates/server.xml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="{{ path }}"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t &quot;%r&quot; %s %b" />


{% if not tomcat_show_server_info_on_error_page %}
<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" showServerInfo="false"/>
{% endif %}

</Host>
</Engine>
</Service>
Expand Down
4 changes: 3 additions & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ tomcat_supported_agents_extensions:
- '.tar'
- '.tar.gz'
- '.tar.bz2'
- '.tar.xz'
- '.tar.xz'

tomcat_show_server_info_on_error_page: false

0 comments on commit 2f7ce70

Please sign in to comment.