Random 404 instead of 301 for URLs without trailing slash

2016-09-16 Thread Frederik Elwert
Hello, I am running a site that uses Django 1.8 and Django CMS 3.2. The site is deployed using gunicorn and nginx. Now I noticed a strange, hard to debug issue: When accessing a URL without trailing slash, I expect a redirect to the correct URL with the trailing slash appended, as per the APPEN

Re: Random 404 instead of 301 for URLs without trailing slash

2016-09-19 Thread Frederik Elwert
Hi Michal, Am Freitag, 16. September 2016 18:40:11 UTC+2 schrieb Michal Petrucha: > > Hi Frederik, > > On Fri, Sep 16, 2016 at 09:01:53AM -0700, Frederik Elwert wrote: > > Hello, > > > > I am running a site that uses Django 1.8 and Django CMS 3.2. The site is &