Regarding setting the CodeIgniter level, edit the application / config / config.php file (also read the comments in config.php)
$config['base_url'] = 'http://example.com/xml_apps';
If you need good URLs, please also use the code below.
$config['index_page'] = '';
Regarding Nginx settings, visit the Nginx community - everything is explained very well here.
Edit
change nginx settings
# removes access to "system" folder, also allows a "System.php" controller if ($request_uri ~* ^/system) { rewrite ^/(.*)$ /index.php?/$1 last; break; }
source share