Trying to resolve an issue with nginx currently, 2021-10-06_13:37:00.94594 2021/10/06 09:37:00 [emerg] 24786#0: bind() to 0.0.0.0:443 failed (98: Address already in use). The server has 2 IP addresses, 10.0.0.188:443 as the main website and 10.0.0.136:443 for GitLab pages.
My config file has these values:
nginx[‘enable’] = true
nginx[‘redirect_http_to_https’] = true
nginx[‘listen_addresses’] = [‘10.0.0.188’]
pages_external_url “https://pages.XXXXlnx27.YYYY.nasa.gov”
gitlab_pages[‘enable’] = true
gitlab_pages[‘external_https’] = [‘10.0.0.136:443’]
gitlab_pages[‘redirect_http’] = true
I am looking for a solution that allows nginx to server both IP addresses with GitLab and GitLab Pages websites.
Thanks