🔥 Proper Local HTTPS with Caddy Server

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

I spent an embarrassing amount of time trying to get nginx running as a reverse proxy. Caddy had me up and running (with SSL!) in maybe 10 minutes. Fantastic tool

haydensykes
Автор

This is excellent! Thanks for the tip. I've used far more complex solutions to do this. It's nice to know it's so easy now!

beauremus
Автор

the go open-source community is awesome

hakuna_matata_hakuna
Автор

No port numbers: for this, set the port to 80. Then just type localhost in the browser.

But, the video is amazing. Auto local SSL & custom domain are appealing.

exokristian
Автор

Wow, have needed this for a while now!

ward
Автор

You’re the best bro! I love your content ❤️

medredha
Автор

I used to edit the hosts file lol
Thank you for this rec!

lotfiholmes
Автор

Wow. Where were you 2 months ago… love it.

LifeHappy-
Автор

or use ngrok, though ngrok has longer and hard to remember uri to make sure subdomains are unique and won't collide

monq
Автор

I still get the insecure HTTPS warning. I run it from WSL2. Did you install anything extra?

futuremoe
Автор

Hmm, so it's making a local certificate authority?

MrBrax
Автор

I tried this now and it doesn't work. Why?

gadgetboyplaysmc
Автор

Can I visit the url by mobile devices? Also can I integrate it with vite.js?

devsDojo
Автор

great! after some tool called `hotel` which seems abandoned now, I wanted these .localhost domains.

but it's not working well with WSL. using `netsh` on the windows side is more convenient:

netsh interface portproxy add v4tov4 listenaddress=[x.localhost] listenport=80 connectport=[3000] connectaddress=[WSL IP]

MrSattarian