Is there any way to disable the ui of gitea and only use it using the cli and commands

I want to disable the web interface of our gitea is there any way to block it