Reputation: 399
I allready have got nginx on own server and theit config allready bind address. I dotn't want to change 80 port, beacause my server have got websites and users on it.
Gitlab in logs have got errors, that
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
what i must to do? Where and how I can change gitlab nginx config?
Upvotes: 0
Views: 6782
Reputation: 699
as u say, u have 2 ng-instances, so u can't listen the same port using different process at the same time.
here is the choice:
Upvotes: -1
Reputation: 66
You can run two server on the same port using nginx:
If you installed gitlab-omnibus and if you want to change the default port:
If you have installed gitlab manually locate nginx's folder (you can type whereis nginx on the console) and modify gitlab's file on the sites-available subfolder. Normally the file you have to modify is: /etc/nginx/sites-available/gitlab
Upvotes: 2