I've got nginx installed on Ubuntu from the repository (v0.7.65), and while with my default site configuration works wonders with WordPress pretty URLs and nginx-compatibility plugin (so far), it doesn't with Joomla!. Here's the configuration:
server {
listen 80 default;
server_name localhost;
access_log /var/log/nginx/localhost.access.log;
root /var/www/nginx-default;
location /wordpress {
try_files $uri $uri/ @wordpress;
}
location /joomla {
try_files $uri $uri/ @joomla;
}
# Configuración para instalaciones de WordPress
location @wordpress {
fastcgi_pass 127.0.0.1:9120;
fastcgi_param SCRIPT_FILENAME $document_root/wordpress/index.php;
include fastcgi_params;
}
# Configuración para instalaciones de Joomla!
location @joomla {
fastcgi_pass 127.0.0.1:9120;
fastcgi_param SCRIPT_FILENAME $document_root/joomla/index.php;
include fastcgi_params;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9120;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
I got it to show me the index, the administrator, and one level below links. That is, if I access /joomla/joomla-overview, it works just nice (with friendly URLs and Apache mod_rewrite enabled in Joomla!), but if I try /joomla/joomla-overview/what-is-new-in-1-5, I get an error.
What do you think is happening here? Do you know other settings to make it work, preferably within the environment I have it now?
Thanks in advance for your support.
PS: Please, I have not found much help relating my issue. I've tried different solutions, to no avail.