Cookies not enabled

Cookies not enabled

by Patrick Petersen -
Number of replies: 0
Hi, 

I'm getting cookies not enabled issue with the following config:

$CFG->disablelogintoken = true;
$CFG->usesid=true;
$CFG->setcookiepath='/moodle/;

wwwroot is set to 'https://test .test .dk/moodle' (without spaces, but space here due to spam filter)
reverse proxy is set to true
ssl is set to true.

i'm using the docker image ellakcy/docker-moodle to host the moodle part

I've tried pretty much everything and is likely related to nginx since it works hosted locally on 8082 with a localhost wwwroot
I've attached all the things that i can remember.

The whole reason i turned off logintoken was because i was getting "invalid token: admin" on login with the token. 
But now it's just cookies not enabled instead
Attachment request_response_1.png
Average of ratings: -