forked from ISTI-ansible-roles/ansible-roles
Some fixes to the java reverse proxy role.
This commit is contained in:
parent
cf93b2011f
commit
afa71e25e1
|
@ -9,4 +9,4 @@ smartgears_rproxy_base_url: 'http://maven.research-infrastructures.eu/nexus/cont
|
||||||
|
|
||||||
java_rproxy_display_name: 'Java Reverse Proxy Service'
|
java_rproxy_display_name: 'Java Reverse Proxy Service'
|
||||||
java_rproxy_targets:
|
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_pattern: [ '/dest1/*', '/dest2/*' ] }
|
- { 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/*' ] }
|
|
@ -40,9 +40,6 @@
|
||||||
template: src=web.xml dest={{ smartgears_instance_path }}/webapps/{{ java_rproxy_service_name }}/WEB-INF/web.xml mode=0440
|
template: src=web.xml dest={{ smartgears_instance_path }}/webapps/{{ java_rproxy_service_name }}/WEB-INF/web.xml mode=0440
|
||||||
notify: Restart smartgears
|
notify: Restart smartgears
|
||||||
|
|
||||||
|
|
||||||
# TODO: unarchive the war file and install the web.xml.
|
|
||||||
|
|
||||||
become: True
|
become: True
|
||||||
become_user: '{{ d4science_user }}'
|
become_user: '{{ d4science_user }}'
|
||||||
when: java_rproxy_service_install
|
when: java_rproxy_service_install
|
||||||
|
|
Loading…
Reference in New Issue