SSL setup deny port 80 on ip?

I've setup SSL with Let's Encrypt according to this post.

Everything works fine and I can access Pi-Hole through my domain.
Requests to port 80 will be forwarded to port 443 as expected.

However, Pi-Hole is still accessible through the IP address on port 80.
I'd like to also forward these requests to port 443.

I can't edit the default lighttpd config since it is overwritten on updates.

How could I do this "the correct way"?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.