| ... | @@ -12,6 +12,9 @@ server { |
... | @@ -12,6 +12,9 @@ server { |
|
|
server_tokens off; # don't show the version number, a security best practice
|
|
server_tokens off; # don't show the version number, a security best practice
|
|
|
root /home/git/gitlab/public;
|
|
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
|
|
# individual nginx logs for this gitlab vhost
|
|
|
access_log /var/log/nginx/gitlab_access.log;
|
|
access_log /var/log/nginx/gitlab_access.log;
|
|
|
error_log /var/log/nginx/gitlab_error.log;
|
|
error_log /var/log/nginx/gitlab_error.log;
|
| ... | |
... | |
| ... | | ... | |