library/roles/smartgears/java_reverse_proxy/defaults/main.yml: More variables.

This commit is contained in:
Andrea Dell'Amico 2018-12-21 18:44:35 +01:00
parent 79e5a81c2a
commit 4406ac1e7b
1 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,12 @@ java_rproxy_service_extension: war
java_rproxy_service_file: '{{ java_rproxy_service_name }}-{{ java_rproxy_service_version }}.{{ java_rproxy_service_extension }}'
smartgears_rproxy_base_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-snapshots'
java_rproxy_servlet_name: 'ReverseProxy'
java_rproxy_target_uri: 'https://revproxied-app.example.org/'
java_rproxy_url_partterns:
- '/dest1/*'
- '/dest2/*'
java_rproxy_display_name: 'Java Reverse Proxy Service'
java_rproxy_targets:
- { servlet_name: 'ReverseProxy', target_uri: 'https://revproxied-app.example.org/', log: 'true', forwardip: 'true', preserve_host: 'true', preserve_cookies: 'true', handle_redirects: 'true', socket_timeout: '60000', read_timeout: '60000', url_patterns: [ '/dest1/*', '/dest2/*' ] }
- { servlet_name: '{{ java_rproxy_servlet_name }}', target_uri: '{{ java_rproxy_target_uri }}', log: 'true', forwardip: 'true', preserve_host: 'true', preserve_cookies: 'true', handle_redirects: 'true', socket_timeout: '60000', read_timeout: '60000', url_patterns: [ '{{ java_rproxy_url_partterns }}' ] }