DevEnjoy

One Step Closer

Ubuntu

Ubuntu 14.04 Gitlab 설치시 외부 Nginx 설정

2016년 2월 23일 by YongPwi Leave a Comment

Ubuntu 14.04에 Gitlab 설치시 내장되어 있는 nginx가 기본으로 설정된다.

하지만 nginx를 자체적으로 가지고 있을경우 Gitlab 설정에 nginx를 비활성화 시키고

사용하던 nginx에 붙일경우 권한 문제로 연동이 안되는 상황이 발생하였다.

그럴경우 gitlab 설정 파일에 nginx의 user 권한을 수정해주면 정상적으로 연동 가능하다.

1
2
3
4
5
6
7
8
9
// nginx 설정 파일 경로
// apt-get 설치시 default(/etc/nginx/nginx.conf)
sudo nano /etc/nginx/nginx.conf

// default
user  nginx;

// 변경
user www-data;

https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md#using-a-non-bundled-web-server

Posted in: Programing, Ubuntu Tagged: gitlab, nginx, ubuntu
« 이전 1 2

Calendar

6월 2025
일 월 화 수 목 금 토
« 4월    
1234567
891011121314
15161718192021
22232425262728
2930  

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].