简体   繁体   中英

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:

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. With your config, you've added it in the ngrok cloud so only your app is seeing it.

~ an ngrok employee

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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