404 on .well-known/acme-challenge/

Hi I made progress I had to change one little thing about your code I instead had to remove the /acme-challenge and do just:

location ~ /.well-known {
        allow all;
	root /usr/share/nginx/html;
}

After that I can see my test file and no longer get 404.
Now I’m getting a new 500 error related to something else

DeserializationError('The following field are required: detail',)

so I’ll read up a bit on the error log and make a new thread if I get stuck thanks for your help @pfg!