R
Railway•12mo ago
Devmoha

error : www.kulmiye-edu.com redirected you too many times.

5 days ago i bought domain from namecheap , i used cloudflare to setup my dns records , i have two cname records : one for root domain : kulmiye-edu.com and one for www subdomain www.kulmiye-edu.com , i used railway generated cname records as value , what am i missing ? also in railway it saying cloudflare proxy detected , Project id : 441cb51a-0a80-4b07-a18d-5c77a696939f
11 Replies
Percy
Percy•12mo ago
Project ID: 441cb51a-0a80-4b07-a18d-5c77a696939f
Devmoha
Devmoha•12mo ago
oh i got it thanks i will wait untill it propogated thanks man
Brody
Brody•12mo ago
no problem 🙂
Devmoha
Devmoha•12mo ago
do i need to enable ssl/tsl or ?
Brody
Brody•12mo ago
set it to full like the picture shows
Devmoha
Devmoha•12mo ago
yeeeeees it works thanks man after week of this problem now it worked kulmiye-edu.com
Brody
Brody•12mo ago
awesome!
Devmoha
Devmoha•12mo ago
iam sorry but my website is experiencing csrf token i am using django and i have my setup did correct , in every form i included csrf_token , in settings.py i have my domain as csrf_trusted_origins listed , when i am using the generated domain i dont have the csrf error but the custom domain is having csrf error ? what is happening
Brody
Brody•12mo ago
show me the allowed csrf array please
Devmoha
Devmoha•12mo ago
CSRF_TRUSTED_ORIGINS = ['https://www.kulmiye-edu.com','https://www.kulmiye-edu.com/*','https://ke-web-platform-production.up.railway.app/*'] these are lists of allowed csrf origins solved : the issue was i was adding www before the trusted origin i removed and it worked thanks again