Fall back to default port for strfry proxy

When we don't override it elsewhere
This commit is contained in:
Râu Cao 2024-06-08 16:25:47 +02:00
parent dbccd9d2bf
commit 9835b85181
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

@ -1,6 +1,6 @@
upstream _strfry {
<% @upstream_hosts.each do |host| %>
server <%= host %>:<%= @upstream_port %>;
server <%= host %>:<%= @upstream_port || "7777" %>;
<% end %>
}