This document describes changes made in /etc/cb/nginx/conf.d/cb.conf to assist users though the upgrade process.
The original 5.2 cb.conf file is broken into several configuration files under includes/ directory. This new cb.conf file is nothing but a set of include statements that merges all the individual configuration files:
includes/headers.includes - all common proxy headers.
includes/cb.server.body - all common proxy server configuration, including SSL ciphers/protocol settings.
includes/cb.server.api - proxy server configuration for all UI API endpoints including certificate and key locations to be used for UI communication.
includes/cb.server.sensor - proxy server configuration for all sensor API endpoints, including certificate and key locations.
includes/cb.server.custom - empty place-holder file for customer customizations.
Note: The http.conf file is in /etc/cb/nginx/conf.d/ and not the includes directory. It doesn't have an includes line in cb.conf
http.conf - implements redirection of requests to port 80 to 443 (can be used for redirection to a different port here.)
For Standard Configurations (The UI is configured over 443)
The Server will replace the default cb.conf configuration file with the new one with no changes needing to be made while upgrading.
Minor Configuration Changes
If minor changes were made from cb.conf, you can make these changes to the original and rename cb.rpmnew to cb.5.2changes