Follow-up to my own question. Above settings successfully limit the max file size to be uploaded via HTTP, but not via SSH. The reason is, GitLab configures internal nginx through above settings, but SSH is not.
Here's more detail. https://gitlab.com/gitlab-org/omnibus-gitlab/issues/602 -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/c8c6db91-2f96-4506-a030-c3d2309d7c84%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.