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
Likely cause: pelletier/go-toml/v2 dropped support for default struct tags. The ports (80 and 443) are set via the default. ETA: We can set the defaults of the top-level struct, but we can't set defaults on interior structs (like the servers) as we unmarshal. We will have to recurse through the results, and fill in defaults for all zero values where that is actually invalid. Such as, but not limited to, HTTP/S port numbers.
A "minimal" config failed to work for me this morning:
It produced this enigmatic error message:
Note that the port is zero, rather than 80 or 443. Adding the
http_port
andhttps_port
configurations to the config file made it work correctly.The text was updated successfully, but these errors were encountered: