Hi @Mat_
Since force HTTPS is applied I think that url should also be redirect to https://.
Can you please try with 307
HTTP redirection rather that 301.
server {
listen 80;
server_name www.example.com example.com;
return 307 https://example.com$request_uri;
}