简体   繁体   English

是否有正确的方法来设置 Ngrok 文件以跳过浏览器警告页面

[英]Is there correct way to set Ngrok file to skip browser warning page

Here is sample of Ngrok file which I'm using within tunnel:这是我在隧道中使用的 Ngrok 文件示例:

authtoken: somevalue 
version: "2"
tunnels:
  sometunellName 
    proto: http
    addr: 5555
    schemes: 
             - http
             - https
    host_header: rewrite
    request_header:
                  add:
                   - "ngrok-skip-browser-warning:true" 
log_level: debug 
log_format: json 
log: ngrok.log 

Several common headers didn't give any new result.几个常见的标题没有给出任何新结果。

The "ngrok-skip-browser-warning:true" header has to be added in the browser as the ngrok cloud side of things has to see it to skip the browser warning.必须在浏览器中添加“ngrok-skip-browser-warning:true”header,因为 ngrok 云端必须看到它才能跳过浏览器警告。 With your config, you've added it in the ngrok cloud so only your app is seeing it.使用您的配置,您已将其添加到 ngrok 云中,因此只有您的应用程序可以看到它。

~ an ngrok employee ~ 一个 ngrok 员工

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM