twitter card issue with my website

Hi, so my website is posting new tweet with link of the post directly to twitter when I accept them from admin with django, I configured my app to use twitter card but the issue is the links that vare posted on twitter they are not previewed as a twitter card preview I tried to test it with twitter card validator and somehow my whole website has a problem because I was getting.

ERROR: Fetching the page failed because other errors.

I searched online about this issue and I found a solution is in the nginx configuration is to add


where in the nginx configuration says


could you please add this to my nginx configuration as I really need to have the twitter card preview to be working.

many thanks

can you show a url that is not working?

Yeah I checked there is no errors