1
0

More than 1 year has passed since last update.

pm2で--tls-min-v1.0オプションを使う

Posted at

タイトルの通りです。
ネット上に情報があまりないようなので共有します。

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」オプションは有効のままです。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0