diff --git a/vars/internal_vars.yml b/vars/internal_vars.yml index 741a8cb..af89725 100644 --- a/vars/internal_vars.yml +++ b/vars/internal_vars.yml @@ -17,7 +17,7 @@ _galaxy_custom_repo_workflow_location: 'workflows' _galaxy_root: /srv/galaxy _galaxy_local_address: localhost:8080 -_galaxy_error_502: /var/www/galaxy500.html +_galaxy_error_502: /var/www/galaxy502.html galaxy_src_documentation: https://github.com/UtrechtUniversity/vre-docs diff --git a/vars/nginx_vars.yml b/vars/nginx_vars.yml index 52a3666..0b5c20c 100644 --- a/vars/nginx_vars.yml +++ b/vars/nginx_vars.yml @@ -1,7 +1,7 @@ galaxy_nginx_vhost_config: - name: galaxy location: / - error_page: 502 /err_502.html + error_page: 502 /galaxy502.html proxy_pass: "http://{{ _galaxy_local_address }}" auth: "{{ _molecule_active | ternary(omit, 'sram') }}" proxy_set_header: @@ -28,7 +28,7 @@ galaxy_nginx_vhost_config: proxy_redirect: 'off' proxy_http_version: '1.1' proxy_pass: "http://localhost:{{ gie_proxy_port }}" - - name: custom_errpage - location: = /err_502.html - root: "{{ _galaxy_error_502 }}" + - name: custom_502 + location: = /galaxy502.html + root: "{{ _galaxy_error_502 | dirname }}" internal: ''