Skip to content

Commit

Permalink
Dual stack listener
Browse files Browse the repository at this point in the history
"*" in Mojo will try to bind to single stack IPv4 and fail on IPv6 only
machines, as are used in the openSUSE infrastructure. Using "::" will
open a dual stack listener which should facilitate both environments
equally.

Signed-off-by: Georg Pfuetzenreuter <[email protected]>
  • Loading branch information
tacerus committed Nov 27, 2024
1 parent 8111791 commit 9734490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mirrorcache/webui-conf.sls
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ webui.conf.env:
- key_values:
MIRRORCACHE_INI: /etc/mirrorcache/conf.ini
MIRRORCACHE_METALINK_GREEDY: '3'
MOJO_LISTEN: 'http://*:3000'
MOJO_LISTEN: 'http://[::]:3000'
MOJO_REVERSE_PROXY: '1'
{{ var_if_pillar('workers', '') }}
{{ var_if_pillar('proxy_url', '') }}
Expand Down

0 comments on commit 9734490

Please sign in to comment.