Skip to content

Commit 04a6ff6

Browse files
author
Wachiwi
committed
Added 6.7 changes
1 parent 5e989d6 commit 04a6ff6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

web-server/nginx/gitlab-ssl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ server {
4343
server_tokens off;
4444
root /home/git/gitlab/public;
4545

46+
# Increase this if you want to upload large attachments
47+
# Or if you want to accept large git objects over http
48+
client_max_body_size 20m;
49+
4650
ssl on;
4751
ssl_certificate /etc/nginx/gitlab.crt;
4852
ssl_certificate_key /etc/nginx/gitlab.key;
@@ -75,4 +79,6 @@ server {
7579

7680
proxy_pass http://gitlab;
7781
}
78-
}
82+
83+
error_page 502 /502.html;
84+
}

0 commit comments

Comments
 (0)