Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver2
32いいね 1560回再生

The Local HTTPS guide you NEED to know! | Nginx Edition

Did you know you can get wild card certs from Let's encrypt AND route a public DNS record to the PRIVATE IP address (or Tailscale IP Address) of your server or your??

That's right and in this video I show you how to do that with Nginx, Certbot w/ CloudFlare DNS plugin, and CloudFlare as my DNS provider, all of which can be spun in Docker.

Now this might seem a little tricky to set up yourself, but that is why I'm providing you a Github repository that you can clone and easily set the needed environmental variables in the .env file.

github.com/WildeTechSolutions/nginx-docker-demo

Did you miss my Nginx Proxy Manager tutorial where I did the exact same thing and set up Immich and Portainer with Docker Compose?

You can get that video here:

Local HTTPS with Nginx Proxy Manager
   • The Local HTTPS guide you NEED to know! | ...  

Not familiar with using VS Code to access your self hosted services?
   • How to Version Control your Docker configs  

#selfhosted #nginx #docker

----------- Timeline --------------
00:00 Intro
01:26 Discussion
03:36 State of Server
04:12 Cloning the Nginx-Certbot Repository
06:27 Fetching CloudFlare API Token & DNS Record
08:04 The Nginx Config File
10:08 Fetching SSL Certs for the First Time
11:29 Wild Card Domain over Tailscale
13:33 Automating SSL Cert renewal
15:59 Routing Cloudflare Tunnel to Nginx
18:01 Conclusions
-------------------------------------------

コメント