Answer the question
In order to leave comments, you need to log in
How to make the site display if VPN is enabled, otherwise it's a stub?
There is a site on laravel, access to which you want to restrict, so that when you enter it, it asks you to turn on VPN, and when VPN is turned on, it redirects to root. How to implement? If it's not clear, please ask.
Answer the question
In order to leave comments, you need to log in
I think you can just make 2 different sites and bind them to different IPs, respectively, with a VPN, the name server should give the desired IP - the names are also better different, the DNS cache is a nasty thing. One site like a stub - you can even do it in HTML with a couple of pictures
did not understand what it means
redirect to root
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question