I've searched for 1+ hour now.
I have a webserver, with ISPConfig 3 and using nginx.
It's a Joomla website, where it used .htaccess before, which afaik nginx doesn't support.
Therefor, SEF (mod_rewrite) is done with the following:
# Support Clean (aka Search Engine Friendly) URLs</tt>
location / {
try_files $uri $uri/ /index.php?q=$request_uri;
}
Now the tricky part.
Before with .htaccess, a rewrite was setup with:
domain.tld to www.domain.tld/path
The path is an menu alias in Joomla, and worked perfectly with .htaccess.
How can this be resolved with nginx?
If I use ISPConfig, I get 404 errors and the URL looks totally wrong.
So therefor, if possible, I'll like howto setup this in the nginx conf file.
Thanks,
I have a webserver, with ISPConfig 3 and using nginx.
It's a Joomla website, where it used .htaccess before, which afaik nginx doesn't support.
Therefor, SEF (mod_rewrite) is done with the following:
# Support Clean (aka Search Engine Friendly) URLs</tt>
location / {
try_files $uri $uri/ /index.php?q=$request_uri;
}
Now the tricky part.
Before with .htaccess, a rewrite was setup with:
domain.tld to www.domain.tld/path
The path is an menu alias in Joomla, and worked perfectly with .htaccess.
How can this be resolved with nginx?
If I use ISPConfig, I get 404 errors and the URL looks totally wrong.
So therefor, if possible, I'll like howto setup this in the nginx conf file.
Thanks,