Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ngrok #2068

Closed
Rishats opened this issue Apr 2, 2019 · 13 comments
Closed

Ngrok #2068

Rishats opened this issue Apr 2, 2019 · 13 comments
Labels

Comments

@Rishats
Copy link

Rishats commented Apr 2, 2019

Can you provide ngrok like in homestead?

@Sogl
Copy link
Contributor

Sogl commented Apr 27, 2019

I use some lines from this comment for my configuration:
#54 (comment)

@lionslair
Copy link
Contributor

Would be useful for testing paypal and other services that have webhook callbacks.

@stale
Copy link

stale bot commented Feb 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Feb 2, 2020
@stale
Copy link

stale bot commented Feb 23, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 23, 2020
@dendihandian
Copy link

dendihandian commented Mar 9, 2020

I use some lines from this comment for my configuration:
#54 (comment)

Hello, @Sogl

How to expose one of my multiple projects in the workspace container? e.g I have a project called http://simple-laravel.local and has the simple-laravel.local.conf for the Nginx configuration

@ArtisanTinkerer
Copy link

I am also trying to do this for testing webhooks. It would be great to have a solution.

@lionslair
Copy link
Contributor

Doesn't need to be baked in. Just use ngrok outside and proxy it. Works great

@ArtisanTinkerer
Copy link

Not sure what you mean? I am just following this: https://medium.com/@sam_ngu/docker-laradock-ngrok-%EF%B8%8F-81ae4a224f08

Looks like it should work but I am getting:

Failed to complete tunnel connection
The connection to http://gfdsg163.ngrok.io was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address localhost:80.

Make sure that a web service is running on localhost:80 and that it is a valid address.`

@ArtisanTinkerer
Copy link

You mean install ngrok on the host?

@lionslair
Copy link
Contributor

Yes. Just install ngrok on your host system then run the following

ngrok http -host-header=site-name-here.test 80

or port 443 but both will map to the local from remote. Ngrok gives you a https and http endpoint so just map them to local 80 or 443 up to you. I find 80 easier but can still use https from remote.

@minhlong
Copy link

Yes. Just install ngrok on your host system then run the following

ngrok http -host-header=site-name-here.test 80

or port 443 but both will map to the local from remote. Ngrok gives you a https and http endpoint so just map them to local 80 or 443 up to you. I find 80 easier but can still use https from remote.

You save me,

Tks,

@okochunk
Copy link

Thanks @lionslair it's work, I think will be great if this information added in laradock documentation cheers

@lionslair
Copy link
Contributor

I have been trying this out over the past week. works well and depends on nothing really. seems to handle local self signed https certificates from Caddy too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants