How do I block port 80 from incoming? Currently we only use port 443, other ports must be blocked

Answer these questions to help the Community help you with Security questions.

What is the domain name?
tafnervotacao.com.br

Have you searched for an answer?
How do I block port 80 from incoming? Currently we only use port 443, other ports must be blocked

Please share your search results url:

When you tested your domain, what were the results?

Describe the issue you are having:

What error message or number are you receiving?

What steps have you taken to resolve the issue?

Was the site working with SSL prior to adding it to Cloudflare?

What are the steps to reproduce the error:

Have you tried from another browser and/or incognito mode?

Please attach a screenshot of the error:

You can create a WAF Custom Rule in a paid plan with the expression:

(cf.edge.server_port ne 443)

Then… Block.

If you are on a free plan, you can use the same expression in a Origin Rule or Redirect Rule.

1 Like

Thank you so much.

2 Likes

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