Nginx HTTP not working - downloads a file called "download"
Solution 1:
I found out what caused the problem: I was using listen 80 http2;
in my vhost config which apparently doesn't work. After I removed http2 from said line it is now working normally again!