- Server operating system version
- Ubuntu 22.04
- Plesk version and microupdate number
- Version 18.0.61 Update #6
I am trying to do a very simple removal of index.php from a url using nginx only config.
eg
The standard code
this seems a spectacularly straight forward request.. how are people doing this?
eg
The standard code
has no effect in Additional nginx settings and has to be placed within the server block .. which of course will not survive a rebuild.location ~* ^/index\.php/(.*)$ { return 301 /$1;}
this seems a spectacularly straight forward request.. how are people doing this?