Is there a way to disable access to the OPNSense GUI when entering the public IP address into a browser on the LAN?

I’m hosting a webser on my home network. I can access the web server from the Internet, but when I’m internal and browse to the domain, I’m taken to the OPNSense GUI.