Using https to secure local access, + disable http

Hi all

Does anyone know of a good how to to enable https for local access and disable http.

… I’m going to be configuring https via Cloudflare with reverse proxy, so all I want from this (above) is to lock down my local access…
I will use pgSense back end definition to point to the inside secure setup.
… is this do-able.
G