タイトルの通りです。
ネット上に情報があまりないようなので共有します。
node --tls-min-v1.0 app.js
で実行しているjsをpm2で使う方法は以下の通りです。
pm2 start app.js --name app --node-args="--tls-min-v1.0"
これで起動しておけば、
pm2 restart app
で再起動しても「--tls-min-v1.0」オプションは有効のままです。
Go to list of users who liked
More than 1 year has passed since last update.
タイトルの通りです。
ネット上に情報があまりないようなので共有します。
node --tls-min-v1.0 app.js
で実行しているjsをpm2で使う方法は以下の通りです。
pm2 start app.js --name app --node-args="--tls-min-v1.0"
これで起動しておけば、
pm2 restart app
で再起動しても「--tls-min-v1.0」オプションは有効のままです。
Register as a new user and use Qiita more conveniently
Go to list of users who liked