package: support the nginx mainline repo

The stable nginx repo is at:

    http://http://nginx.org/packages/

while the mainline is at:

    http://nginx.org/packages/mainline/