Is there any option to debug: False on chirpstack application server?

I have a server configured where I can access all API’s with :8080/api.
I wanted to hide them and make sure that API’s cannot be accessible from outside. like we do on python django project with debug false for production.

This is not possible as it would break the web-interface. Note that the web-interface also relies on the API interface.