From 01b6dd539bfc07fce697b87fa4202657ebc91d3e Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 4 Apr 2022 20:38:52 +0530 Subject: [PATCH] add trailing slash if /convert/ is loaded without its trailing slash --- docs/example.nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/example.nginx.conf b/docs/example.nginx.conf index f5c0e1643..a2d1cb1ce 100644 --- a/docs/example.nginx.conf +++ b/docs/example.nginx.conf @@ -237,7 +237,7 @@ server { # The nodejs server has some built-in forwarding rules to prevent # URLs like /pad from resulting in a 404. This simply adds a trailing slash # to a variety of applications. - location ~ ^/(register|login|settings|user|pad|drive|poll|slide|code|whiteboard|file|media|profile|contacts|todo|filepicker|debug|kanban|sheet|support|admin|notifications|teams|calendar|presentation|doc|form|report|convert)$ { + location ~ ^/(register|login|settings|user|pad|drive|poll|slide|code|whiteboard|file|media|profile|contacts|todo|filepicker|debug|kanban|sheet|support|admin|notifications|teams|calendar|presentation|doc|form|report|convert|checkup)$ { rewrite ^(.*)$ $1/ redirect; }