LoginSignup
0
0

httpsでlocalhostにアクセスする

Posted at

local-ssl-proxyを使う

手順

  1. アプリを3000番ポートで起動
  2. local-ssl-proxyを起動(一時的な利用ならnpxでok)
  3. https://localhost:3001/にアクセス
# local-ssl-proxyを3001番ポートで起動して3000番ポートに向ける
npx local-ssl-proxy --source 3001 --target 3000

これでlocalhost:3000に起動しているアプリにhttpsでアクセスできる

参考

0
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
0
0