Hi,
I,m solvend my troubles with nginx conf in aaPanel with this solution.
In aaPainel, go to APP Store, Nginx, configuration "server {"
after line "index index.html index.htm index.php;" add
Rewrite
location / {
expires 1d;
# Enable SEF URLs inside Nginx
try_files $uri $uri/ /index.php?$args;
}
Save. Go in service, RESTART. Then service restart
Again in aaPainel, go to WEBSITE choice you site. In configuration, URL REWRITE and add:
location / {
try_files $uri $uri/ /index.php?$args;
}
Save.
Be Happy.
I found this solution in https://gist.github.com/vaniusg/4596d3ff710e87194f0d7ff032489a4a
and
https://docs.joomla.org/Enabling_Search_Engine_Friendly_(SEF)_URLs_on_Nginx .
Thanks to Vanius Girodo