Version
Cb Response 6.1.x
Issue
NGINX fails to start after upgrading to 6.1
Symptoms
/var/log/cb/nginx/startup.log contains:
nginx: [emerg] duplicate location "/" in /etc/cb/nginx/conf.d/includes/location.root.deny:1 |
Cause
This can occur when an instance has a different API port but is not using a multihome (signed cert) configuration
Solution
Restore the default configurations in /etc/cb/cb.conf on the master (or standalone server):
- Change the NginxWebApiHttpPort to 443:
From:
To:
Note: If this setting does not exist in your configuration, it defaults to 443
- If this is a cluster change the MinionApiPort to 443:
From:
To:
Note: If this setting does not exist in your configuration, it defaults to 443