403 blocking main host ip browsing

I use caddy as proxy server, everything works fine. Websites are on 127.0.0.1:xx

Caddy is installed on Ubuntu Install — Caddy Documentation

When I type host IP address in the browser, it seems to connect to the server (there would be caddy default start page, if I haven’t deleted it). I want to block 403 browser connection when someone would use IP of the host server in the browser’s address bar.

Should I put some global settings?

Thanks for help and example.

This topic was automatically closed after 30 days. New replies are no longer allowed.