Skip to content

Commit

Permalink
servers: fix ping endpoint when ssl enabled
Browse files Browse the repository at this point in the history
otherwise it complains about the require_x509_auth variable
not being set.
  • Loading branch information
rcarpa committed Nov 30, 2023
1 parent 005c6c5 commit 528954f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/rucio.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Listen {{ RUCIO_METRICS_PORT }}
{% if RUCIO_HEALTH_CHECK_PORT is defined %}
Listen {{ RUCIO_HEALTH_CHECK_PORT }}
<VirtualHost *:{{ RUCIO_HEALTH_CHECK_PORT }} >
{{ common_virtual_host_config(port=RUCIO_HEALTH_CHECK_PORT, enable_ssl=RUCIO_ENABLE_SSL|default('False') == 'True') }}
{{ common_virtual_host_config(port=RUCIO_HEALTH_CHECK_PORT, enable_ssl=RUCIO_ENABLE_SSL|default('False') == 'True', require_x509_auth=false) }}

WSGIScriptAlias /ping {{ RUCIO_PYTHON_PATH }}/web/rest/ping.py process-group=rucio application-group=rucio
</VirtualHost>
Expand Down

0 comments on commit 528954f

Please sign in to comment.