Commit aa69e29e authored by Jacob Vosmaer's avatar Jacob Vosmaer

Merge pull request #5610 from demosdemon/patch-1

Add client_max_body_size to nginx site
parents e411f3ba c09aed8b
......@@ -11,6 +11,9 @@ server {
server_name YOUR_SERVER_FQDN; # e.g., server_name source.example.com;
server_tokens off; # don't show the version number, a security best practice
root /home/git/gitlab/public;
# Set value of client_max_body_size to at least the value of git.max_size in gitlab.yml
client_max_body_size 5m;
# individual nginx logs for this gitlab vhost
access_log /var/log/nginx/gitlab_access.log;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment