I'm really out of luck today. I don't know what it is, but I can't get NGINX to do, what it should do.
I want to achieve the following:
domain.com shows index.html (/var/www/domain/index.html)
domain.com/upload (also domain.com/upload/) shows upload.php (/var/www/domain/upload.php)
Serving only the index.html isn't a problem. However, I have problems with the /upload part.
I tried it using location /upload
and location = /upload
but didn't really have luck. One time tho, I got it working but ditched it right away because the php file was downloading and not serving.
If you could tell me, what exactly my server block should look like, I'd be really thankful.