Check for new subdomains on restart #1

オープン
Ghostが2020-07-12 12:41:03 +00:00に作成 · 0件のコメント

I've been wasting so much time with this (also because I managed to confuse npx by creating a greenlock.js file in my project). Looking for an easy solution, but confused by the manager documentation what is optional and which is not.

My setup: Deploy via pm2 gitlab pipeline (pm2 sometimes recreates the project folder)
One proxy with greenlock SSL, multiple apps with their own subdomains behind it.

Now, if I add an app, which rarely happens, pm2 just starts a new server if noone is running and restarts the others on demand. So when I restart the proxy, I would expect it to check the configuration and be ready to create new certificates for new subdomains.

Wildcard/DNS challenge is currently not an option.

So how is this done properly with the new config nesting? Tried to implement a manager just with get() and it complains not to have a find method.

How do I inject a new list of altnames on reboot (without logging into the server for npx)?

I've been wasting so much time with this (also because I managed to confuse npx by creating a greenlock.js file in my project). Looking for an easy solution, but confused by the manager documentation what is optional and which is not. My setup: Deploy via pm2 gitlab pipeline (pm2 sometimes recreates the project folder) One proxy with greenlock SSL, multiple apps with their own subdomains behind it. Now, if I add an app, which rarely happens, pm2 just starts a new server if noone is running and restarts the others on demand. So when I restart the proxy, I would expect it to check the configuration and be ready to create new certificates for new subdomains. Wildcard/DNS challenge is currently not an option. So how is this done properly with the new config nesting? Tried to implement a manager just with get() and it complains not to have a find method. How do I inject a new list of altnames on reboot (without logging into the server for npx)?
サインインしてこの会話に参加。
ラベルなし
1 人の参加者
通知
期日
期日は未設定です。
依存関係

依存関係が設定されていません。

リファレンス: coolaj86/greenlock-manager-test.js#1
説明はありません。