• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question nginx returns 404 on URLs with trailing slash

surfgatinho

New Pleskian
I have looked into this and couldn't find a solution that dealt with wildcard urls followed by trailing slash, was Plesk specific or that I could understand.

Basically I have a few sites that have a directory style structure for locations. E.g. /europe/paris/france/ and that trailing slash is at all levels.
This works fine until I enable "Smart static files processing" on the Domains > Apache & nginx Settings page.

Once I do this I get a nginx 404 on any page with a trailing slash.

This issue affects both bespoke code and some Wordpress sites I run.

Any ideas how I can override this behaviour?

Many thanks,
Chris
 
Back
Top