Open cpury opened 5 years ago
I'm getting the exact same errors after enabling SSL. Glad to know I'm not the only one.
It's weird. If you add a domains
prop to your config outside of proxy
, it will work (except that validation of the config will show an error, since domains
must be in proxy
). So somehow api.getConfig().proxy
seems wrong.
After adding the proxy property, did you ran the :
mup proxy setup --config=mup.js
or
mup proxy reconfig-shared --config=mup.js
to see if it configure the let's encrypt properly ?
Mup version (
mup --version
): 1.4.5Mup config
Output of command
I checked the code for the mup release 1.4.5 and it suspiciously does not have a
.split
atplugins/proxy/command-handlers.js:77:66
... It does have one in line 56:const domains = config.domains.split(',');
, but that would mean thatconfig.proxy.domains
would be undefined, which it clearly is not (SSL is working btw).The other error might be a consequence of the first, but I found the line anyway: https://github.com/zodern/meteor-up/blob/3c7120a75c12ea12fdd5688e33574c12e158fd07/src/server-info.js#L174
Any ideas?