Giter VIP home page Giter VIP logo

Comments (7)

alexagui avatar alexagui commented on August 27, 2024 3

I came looking for the same.

A local SSL/TLS option would be great.

from vessel.

fideloper avatar fideloper commented on August 27, 2024 2

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.

from vessel.

madsem avatar madsem commented on August 27, 2024

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

from vessel.

fideloper avatar fideloper commented on August 27, 2024

from vessel.

madsem avatar madsem commented on August 27, 2024

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

from vessel.

madsem avatar madsem commented on August 27, 2024

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?

from vessel.

madsem avatar madsem commented on August 27, 2024

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 :)

from vessel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.