For Deploying CodeIgnitor on Nginx, one can add following settings in config file for the virtual host
# set expiration of assets to MAX for caching
location ~* .(ico|css|js|gif|jpe?g|png)(?[0-9]+)?$ {
expires max;
log_not_found off;
}
location / {
try_files $uri $uri/ /index.php?/$request_uri;
}