File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ tomcat_enable_manager: false
8989tomcat_manager_remoteaddr_allow : " 127\\ .0\\ .0\\ .1"
9090tomcat_manager_password : ' SETME'
9191
92+ tomcat_local_mapping : {}
93+
9294tomcat_rewrite_rules : []
9395
9496tomcat_start_service : false
Original file line number Diff line number Diff line change 5858 allow =" {{ tomcat_manager_remoteaddr_allow }}" />
5959 </Context >
6060{% endif %}
61-
61+ {% for mapping in tomcat_local_mapping %}
62+ <Context path =" {{ mapping.path }}" docBase =" {{ mapping.docbase }}" >
63+ {% if mapping .limit_allow is defined %}
64+ <Valve className =" org.apache.catalina.valves.RemoteAddrValve"
65+ allow =" {{ mapping.limit_allow }}" />
66+ {% endif %}
67+ </Context >
68+ {% endfor %}
6269 </Host >
6370 </Engine >
6471 </Service >
You can’t perform that action at this time.
0 commit comments