Nginx Python Flask website Cloudflare redirect problem

I have a python flask website . I am using gunicorn3 . I add my website to cloudflare .

Everything is okey pages are working but When I click my link from twitter . it redirect to me

For example my link is

When I click my url from twitter it redirct to me

Here is my nginx conf file

How can I solve this problem ? Thank you

Thats something you need to address in your application or configuration. This is not Cloudflare related.

My website working without cloudflare . When I added on cloudflare I am taking this errors. I just looking for how can I solve it

Cloudflare does not send such redirects. Thats your site. Also, that port wouldnt work anyhow.

Maybe you have a broken TLS configuration on your server.

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