Merge pull request #2566 from simong/nginxfiles

Added the max_body size and /files endpoint
Global admin can log onto a tenant.