Disable web interface

Hellow! How I can disable web interface on server?? I only need mobile app.