DevEnjoy

One Step Closer

Day: 2016년 2월 25일

Ubuntu Gitlab http 방식으로 사용시 push commit error – Nginx

2016년 2월 25일 by YongPwi Leave a Comment

Ubuntu에 Gitlab을 http 방식으로 사용시

대량의 파일을 push 할 경우 Push large commit over http fails이 발생하게 된다.

원인은 nginx에서 받는 사이즈의 크기가 오버되어서 발생하는 문제이다.

1
2
3
4
5
6
7
8
// nginx 설정 파일 수정 (/etc/nginx/nginx.conf)
sudo nano /etc/nginx/nginx.conf

http {
   // 상위 또는 하단에 추가 해준다. (사이즈는 알아서 적당히~)
   # git http post request error
   client_max_body_size 1000M;
}
Posted in: Gitlab, Nginx, Programing, Ubuntu Tagged: commit, gitlab, nginx, ubuntu

Calendar

2월 2016
일 월 화 수 목 금 토
« 9월   5월 »
 123456
78910111213
14151617181920
21222324252627
2829  

Recent Posts

  • ubuntu bastion 설정
  • Spring Boot properties 암호화
  • Git Repository Bitbucket과 Issue Tracker Redmine 연동 설정
  • Spring Security 동일 session 제어
  • Spring @Mock, @Mockbean, @InjectMock

Recent Comments

  • pzotov (Ubuntu 14.04에서 Sonarqube 6.7.1 service 등록)
  • cours de theatre paris (AWS ELB와 Auto Scaling 연동, nginx)
  • bayern munich (IntelliJ EAP Font rendering)
  • camiseta del chelsea (OS X에서 APP 아이콘 변경)
  • cheap football shirts replica (jQuery Ajax에서 json Array 직렬화)

Copyright © [the-year] [site-link].

Powered by [wp-link] and [theme-link].