In First Party Mode, the NGINX C-Core module acts as a reverse proxy for client requests and sensor activity.
The NGINX C-Core module is configured with First-Party mode enabled by default.
To confirm that you have configured your NGINX C-Core module in First-Party mode, review the server block in your Nginx configuration that contains the necessary details.
The following example shows a basic nginx.conf configuration file for the NGINX C-Core module:
Below is an example of a basic nginx.conf configuration file for the NGINX C-Core module.
The presence of the px_first_party_enabled with a value of false confirms that the default configuration has been changed and First-Party mode is disabled.
In order to enable First Party Mode, you need to set the px_first_party_enabled to true and reload your NGINX configuration and continue to the Next Steps below.
After configuring the enforcer to handle First Party requests, complete the steps listed on the Integrate 1st-Party JS Snippet to confirm your snippet is setup to serve the Javascript Sensor via First-Party.