location / {
try_files $uri $uri/ /index.php?$query_string;
}
Write the above code on /etc/nginx/nginx.conf file
then restart the Nginx using the below command
sudo service Nginx restart
location / {
try_files $uri $uri/ /index.php?$query_string;
}
Write the above code on /etc/nginx/nginx.conf file
then restart the Nginx using the below command
sudo service Nginx restart