You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to be able to address multiple varnish backends in my project. But looking at thewodby/varnish varnish config, it appears it is not possible in .lando.yml service config alone.
Although, It'd be great if the entire service didn't break when multiple backends are defined. As Lando also uses the backends configuration in its depends_on conf.
If only using the first defined backend is a serviceable solution? I'd be happy to submit the fix.
The text was updated successfully, but these errors were encountered:
varnish/services/varnish/builder.js
Line 56 in 1f73f51
The
wodby/varnish
expects a valid hostname for itsVARNISH_BACKEND_HOST
env variable (used here: https://github.com/wodby/varnish/blob/0e0ad4cea019dda531dab37325daf6be36c91763/templates/includes/backend.vcl.tmpl#L4). But the builder code concatenates the configured backends into a space delimited string. This results in a non-valid hostname.I need to be able to address multiple varnish backends in my project. But looking at the
wodby/varnish
varnish config, it appears it is not possible in .lando.yml service config alone.Although, It'd be great if the entire service didn't break when multiple backends are defined. As Lando also uses the backends configuration in its
depends_on
conf.If only using the first defined backend is a serviceable solution? I'd be happy to submit the fix.
The text was updated successfully, but these errors were encountered: