【问题标题】:How to add password to website using Ngrok如何使用 Ngrok 向网站添加密码
【发布时间】:2022-01-04 15:36:48
【问题描述】:

我正在使用 ngrok 向 Internet 公开我的网站,我有一个问题是否可以使用 ngrok 向网站添加密码,所以在有人看到该网站之前必须输入密码?

【问题讨论】:

    标签: ngrok


    【解决方案1】:

    您可以使用以下命令使用基本的 ngrok 身份验证来开始公开您的服务器

    ngrok http {port_which_you_want_to_expose} -auth="{username}: 
    {password}"
    

    【讨论】:

      猜你喜欢
      • 2016-08-01
      • 2010-09-30
      • 2012-01-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-03-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多