* Lukas Fleischer <lfleischer@archlinux.org> (Tue, 16 Jun 2015 07:11:44 +0200):
Move the root and index directives out of the location block (directly under the server block).
Ah, now I made progress. I can visit the homepage correctly, it only complains that it cannot make a database connection, although my server is running and username and password are correct. Please have a look at my conf/config [1]. I also disabled maintenance mode, but that didn't matter. Also, when going to /packages/, I get a 404 and the log says that the server is looking for /packages/index.php, so there's clearly something wrong with URL rewriting. I uploaded my current nginx.conf at [2]. Please have a look at this again, that would be greatly appreciated! [1] http://pastebin.com/D1XbnJK1 [2] http://pastebin.com/Z9ay8Pc8