Right now my CSRF token is getting set as a cookie. I set my nginx caching settings to a one year expiration, which I believe may be lengthening the life of my CSRF token.
This discussion around this question: How long should the lifetime of a CSRF token be? states that a token shouldn't be a cookie in the first place, but this is default Django behavior. It also says that the token should only last the length of a session.
How long should a Django CSRF token persist?