Hi,
I’m developing a NextJS web app and I want to setup a dev env such that there’s always a up-to-date application reading from the github repo.
However, since it’s the dev branch, I want to it only be accessed if the request is ona VPN.
My plan
I imagine i can do some IP check in NextJS? but wondering if there’s more elegant solution like setup the firewall on 2)'s droplet (I guess I cannot just deploy it through the App product)
Wondering if anyone did similar and can offer some input. Thanks