How to setup Tunnel Mamp Pro Local Server

I have try to create new tunnel with httphostheader config
But respond when open page 404
here my conf:


  • hostname:
    httpHostHeader: rewrite
  • service: http_status:404

Using ngrok work, with this

ngrok http -region=ap --host-header=rewrite

Thanks u

Your ingress rule is invalid. You should replace httpHostHeader: rewrite with

Still not success yet, getting error like this the browser

Bad Request

Your browser sent a request that this server could not understand.

Additionally, a 400 Bad Request error was encountered while trying to use an ErrorDocument to handle the request.

This seems like an issue with the application as it getting through to the application.

If you’re hitting the 404 error, it could be the default ingress rule.

If you turn on Setting Cloudflared logs to debugging you can see what ingress rule it is hitting to ensure that is working properly.