R
Railway•17mo 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•17mo ago
Project ID: 441cb51a-0a80-4b07-a18d-5c77a696939f
Devmoha
DevmohaOP•17mo ago
oh i got it thanks i will wait untill it propogated thanks man
Brody
Brody•17mo ago
no problem 🙂
Devmoha
DevmohaOP•17mo ago
do i need to enable ssl/tsl or ?
Brody
Brody•17mo ago
set it to full like the picture shows
Devmoha
DevmohaOP•17mo ago
yeeeeees it works thanks man after week of this problem now it worked kulmiye-edu.com
Brody
Brody•17mo ago
awesome!
Devmoha
DevmohaOP•17mo 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•17mo ago
show me the allowed csrf array please
Devmoha
DevmohaOP•17mo 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
Want results from more Discord servers?
Add your server