Starting nginx: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Created by: robertd
I've updated the nginx config and the only thing I changed was ssl certificate location, but i'm getting this error.
I have tried this solution but no luck.
robertd@gitlab:/etc/nginx/sites-available$ sudo service nginx stop
Stopping nginx: nginx.
robertd@gitlab:/etc/nginx/sites-available$ sudo service nginx start
Starting nginx: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
nginx: [emerg] still could not bind()
nginx.
I had to revert gitlab-ssl config to 25ee53c3 commit (7.3-stable) and everything started working again.
Any ideas?