Skip to content

Commit

Permalink
Update httpd.conf.j2
Browse files Browse the repository at this point in the history
The current `Listen` directive does not work on systems that have ipv6 disabled. The Apache Listen directive supports `Listen <port>` syntax at which point it seems to be able to listen correctly on both dual stack and ipv4 only systems. See https://httpd.apache.org/docs/2.4/bind.html for more details.
  • Loading branch information
owenthomas17 committed Jul 23, 2024
1 parent ebb862c commit e2afc04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ironic-config/httpd.conf.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ServerRoot "/etc/httpd"
{%- if env.LISTEN_ALL_INTERFACES | lower == "true" %}
Listen [::]:{{ env.HTTP_PORT }}
Listen {{ env.HTTP_PORT }}
{% else %}
Listen {{ env.IRONIC_URL_HOST }}:{{ env.HTTP_PORT }}
{% endif %}
Expand Down

0 comments on commit e2afc04

Please sign in to comment.