Upgrade nagios 3.5.1 to 4.3.2

Where is the nagios configuration file?
I have upgraded from 3.5.1 to 4.3.2 and nagios uses nagios3 configuration files that are located in a different directory than /usr/local/nagios/
The apache directory is /usr/local/nagios/share/, but nagios uses old configuration files in another directory