GitLab not working w/ Nginx -
i trying gitlab setup current installation of nginx keep getting error 502. have included configuration files, , not sure doing wrong. followed "using non-bundled web-server" steps on https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/nginx.md
/etc/nginx/conf.d/gitlab-omnibus-nginx.conf http://pastebin.com/bq8ecinh
/etc/gitlab/gitlab.rb http://pastebin.com/lw5tjwxy
http 502 means "the server acting gateway or proxy , received invalid response upstream server." there 2 possibilities here.
- your gitlab server not working or returning invalid response. after starting gitlab server, use
sudo netstat -plnt
, make sure running on port , note port. connect directly port in browser (or cli on server if necessary) , confirm gitlab working fine without proxy in front of it. if gitlab running on socket , not port, there tools test http servers through socket connections can use. - nginx not configured correctly connect gitlab. in case, check nginx error log see if there more detail besides "502" error.
Comments
Post a Comment