Frankenphp with Ngrok not working #632
-
Hi, I'm having trouble to make Ngrok work with Frankenphp with docker on my MacOs. Using the default config for frankenphp:
and following ngrok advices for docker: https://ngrok.com/docs/using-ngrok-with/docker/ using different kind of setups, none is working:
For some configs, ngrok tells me this:
so i tried to add 127.0.0.1 to frankenphp following the known issues but it's not working also. As anyone any idea to make ngrok work? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For those who are seeing this later, i found the solution. I needed to augment the headers and add the host with localhost. Something like this:
I also skipped docker and install Ngrok as a regular application on Mac. I didn't try with docker, maybe it's working also. |
Beta Was this translation helpful? Give feedback.
For those who are seeing this later, i found the solution. I needed to augment the headers and add the host with localhost. Something like this:
ngrok http --request-header-add='host: localhost' https://localhost
I also skipped docker and install Ngrok as a regular application on Mac. I didn't try with docker, maybe it's working also.