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

how to setup https in nginx #77

Closed
algethamy opened this issue Apr 18, 2018 · 7 comments
Closed

how to setup https in nginx #77

algethamy opened this issue Apr 18, 2018 · 7 comments

Comments

@algethamy
Copy link

Hi,

how to setup https in Nginx?

Thank you

@alexagui
Copy link

I came looking for the same.

A local SSL/TLS option would be great.

@fideloper
Copy link
Contributor

Hi!

Vessel right now just uses localhost is used and differentiates concurrently running apps by using different ports. To accomplish what you're asking would take a more complicated setup that I don't intend to attempt.

Right now when I need/want to test HTTPS, I use ngrok, which sets up http and https for you.

@madsem
Copy link

madsem commented Oct 6, 2019

Would you mind giving a quick explanation how to set ngrok up with Vessel to make https work?

@fideloper
Copy link
Contributor

fideloper commented Oct 7, 2019 via email

@madsem
Copy link

madsem commented Oct 7, 2019

Ohhhh, well, now I get why it's not included, that simple. I expected like a lot more setup lmao. Thanks :)

@madsem
Copy link

madsem commented Oct 7, 2019

I'm wondering if this would make sense to integrate? When you run ./vessel start a tunnel would be build automatically using APP_PORT, and destroyed again on ./vessel stop?

@madsem
Copy link

madsem commented Oct 7, 2019

For the moment I just wrapped it into a function, with vessel secure option which automatically uses the APP_PORT of the current project to create a HTTPS url.

I've added it to my dotfiles: https://github.com/madsem/dotfiles/blob/master/.config/fish/functions/vessel.fish

It's in fish, but easily adjustable for bash for anyone who wants to use it :)

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

No branches or pull requests

4 participants