How install GitLab with vestacp?
Hello, im install vestacp first, after installed gitlab, but auth to vestacp (nginx) show this:
400 Bad Request The plain HTTP request was sent to HTTPS port nginx
Thanks!
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Hello, im install vestacp first, after installed gitlab, but auth to vestacp (nginx) show this:
400 Bad Request The plain HTTP request was sent to HTTPS port nginx
Thanks!
To work correctly gitlab + vestaсp I copy gitlab nginx config to:
cd /home/git/gitlab
sudo cp lib/support/nginx/gitlab /etc/nginx/conf.d/gitlab.conf
open to edit gitlab-nginx config:
sudo -u git -H editor /etc/nginx/conf.d/gitlab.conf
And change ports to 81 (or any):
...
## Normal HTTP host
server {
listen 0.0.0.0:81 default_server;
listen [::]:81 default_server;
...
And change in gitlab's yml configs:
sudo -u git -H editor /home/git/gitlab-shell/config.yml
change:
gitlab_url: http://localhost/
to:
gitlab_url: http://localhost:81/
restart nginx:
sudo service nginx restart
Check gitlab application:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
vestacp use on: http://localhost:8083/ gitlab use on: http://localhost:81/
Status changed to closed
mentioned in merge request !14785