I'm trying to configure the https protocol on my website, but i have that error in browser:
This is my /etc/nginx/sites-available/default file:
return 301 ...
I had a similar issue and I've needed to add proxysetheader X-Forwarded-Proto https to my nginx conf in order to sort it.
Try adding the following line in your nginx conf.
Also you can always check the syntax o...