CI 3 Routes Not Working in Ubuntu 20 using Nginx

I know this question have been asked for too many times.
I’ve been looking for answers for days and couldn’t find the correct answers after trying hundreeds of solutions over the internet.
Here is the condition that i’m facing :

I’m using an Ubuntu server version 20 with Nginx, PHP 7.4 and MariaDB for this application coded in CodeIgniter version 3.
After deployment, everything seems working, the database connected, the nginx conf is working, the default route of the CI is working.
After opening the page, it will redirect user to the login page and after trying the login, it’s working and redirect the user to the dashboard page.
But, everything is working except for 2 routes. The table page and the map page.

Here is the code and configuration looks like :

etc/nginx/sites-available/default

server {
    listen 80;
    listen [::]:80;

    #app-name is the application name
    root /var/www/app-name;

    index index.php index.html index.htm index.nginx-debian.html;

    server_name _;

    location / {
        #I have changed this a lot and this one is the one that's worked.
        try_files $uri $uri/ /idnex.php;
    }

    location ~ .php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
    }
}

.htaccess
(I have tried changing this one a lot and nothing seems to be working. Some says that nginx doesn’t listen to .htaccess)

DirectoryIndex index.php
RewriteEngine on
 
RewriteCond $1 !^(index.php|(.*).swf|forums|images|css|downloads|jquery|js|robots.txt|favicon.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php?$1 [L,QSA]

CI3 routes.php

$route['default_controller']                                = "login";
$route['404_override']                                      = '';
$route['translate_uri_dashes']                              = FALSE; 

/*********** LOGIN ROUTES ***********/
$route['gLogin']                                            = 'login/gLogin';
$route['gLogout']                                           = 'masyarakat/logout';
$route['loginMe']                                           = 'login/loginMe';
$route['logout']                                            = 'masyarakat/logout';

/*********** DASHBOARD ROUTES ***********/
$route['dasbor/utama']                                      = "dasbor/utama";

/*********** DATA ROUTES ***********/
# This is the 2 routes that doesn't work. Everything else is working. I don't know how.
$route['tabelData']                                         = "datautama/tabelData";
$route['petaData']                                          = "datautama/petaData";

/*********** REPORT ROUTES ***********/
$route['daftarLaporan']                                     = "laporan/daftarLaporan";

/*********** ADMIN ROUTES ***********/
$route['admin/masyarakat']                                  = "admin/masyarakat";
$route['admin/kategoriLaporan']                             = "admin/kategoriLaporan";

CI3 Controller That is working :
Laporan.php

<?php if(!defined('BASEPATH')) exit('No direct script access allowed');

require APPPATH . '/libraries/PerpanjanganTangan.php';

class Laporan extends PerpanjanganTangan
{

    public function __construct()
    {
        parent::__construct();
        $this->load->model('laporan_model');
        $this->isLoggedIn();   
    }

    function daftarLaporan()
    {

        if($this->isKaling() == TRUE)
        {
            $this->loadThis();
        }
        else
        {

            $this->global['pageHeader'] = 'Siap PERKIM : Daftar Laporan';
            $this->global['pageTitle']  = 'Daftar Laporan';
            $this->loadViews("daftarlaporan/semua", $this->global, NULL , NULL);

        }

    }

}

CI3 Controllers That Doesn’t Work :
DataUtama.php

<?php if(!defined('BASEPATH')) exit('No direct script access allowed');

require APPPATH . '/libraries/PerpanjanganTangan.php';

class Datautama extends PerpanjanganTangan
{

    public function __construct()
    {
        parent::__construct();
        $this->load->model('datautama_model');
        $this->isLoggedIn();   
    }

    function tabelData()
    {

        if($this->isKaling() == TRUE)
        {
            $this->loadThis();
        }
        else
        {

            $this->global['pageHeader'] = 'Siap PERKIM : Tabel Data';
            $this->global['pageTitle']  = 'Tabel Data';
            $this->loadViews("data_utama/tabeldata", $this->global, NULL , NULL);

        }

    }

    function petaData()
    {

        if($this->isKaling() == TRUE)
        {
            $this->loadThis();
        }
        else
        {

            $this->global['pageHeader'] = 'Siap PERKIM : Peta Data';
            $this->global['pageTitle']  = 'Peta Data';
            $this->loadViews("data_utama/petadata", $this->global, NULL, NULL);

        }

    }

}

Please help.
What did i do wrong?

I have tried renaming the Controllers.
Every controller name is capital on the 1st letter.
Every controller class name is capital on the 1st letter.
I have tried changing the controllers a lot.
I have tried changing the routes.
I have tried changing the nginx configuration.
I have tried changing the .htaccess file.

But nothing seems to work on me.