Incorrect links with fancy URLs disabled

During a fresh install, I selected "disable" fancy URLs. I haven't set nginx to do any rewriting. When I go to myserver.com/index.php, it redirects to myserver.com/index.php/main/public instead of myserver.com/index.php?p=/main/public