-
Creating a local HTTPS server for Create-React-App using nginx and certbot in WSL2: Works for BOTH npm start AND npm build
Note: This article has some interesting WSL-centric material, like how to: Set up bridge networking without Hyper-V Find the UWP Ubuntu executable to run Linux commands outside of a WSL terminal Create automatic startup tasks without systemd init system Expose your (domain-enabled) dev environment to certbot/letsencrypt for automatic issuance of SSL certificates Use nginx proxy…
-
Easiest WSL2 Bridge Network (without Hyper-V Virtual Network Manager)
I am testing certbot locally with Create-React-App, but I’m using WSL2. Little did I know, the networking for Ubuntu in WSL2 is a little strange when coming from your typical systemd-network, NetworkManager, ifupdown, <insert your favorite networking API> Apparently, the networking is taken care of in the lxssManager service (you can reveal it / restart…