Skip to content

Commit

Permalink
Fix custom 502 page
Browse files Browse the repository at this point in the history
  • Loading branch information
dometto committed Dec 16, 2024
1 parent d0d88bb commit 7c906c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion vars/internal_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions vars/nginx_vars.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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: ''

0 comments on commit 7c906c2

Please sign in to comment.