We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07d58db commit 3ec2bddCopy full SHA for 3ec2bdd
nginx.app.conf
@@ -6,7 +6,9 @@ location ~ /\. {
6
}
7
8
# 301 Redirect URLs with trailing /'s as per https://webmasters.googleblog.com/2010/04/to-slash-or-not-to-slash.html
9
-rewrite ^/(.*)/$ /$1 permanent;
+if (!-d $request_filename) {
10
+ rewrite ^/(.*)/$ /$1 permanent;
11
+}
12
13
# Change // -> / for all URLs, so it works for our php location block, too
14
merge_slashes off;
0 commit comments