We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e4f52c commit 356a838Copy full SHA for 356a838
1 file changed
docker/Caddyfile
@@ -35,10 +35,14 @@ www.goat.uz {
35
-X-Powered-By
36
}
37
38
- @emptyQuery {
39
- query ""
40
- }
41
- uri @emptyQuery strip_suffix ?
+# @emptyQuery {
+# query ""
+# }
+# uri @emptyQuery strip_suffix ?
42
+ @trailingQuestion {
43
+ expression "{uri}.endsWith('?')"
44
+ }
45
+ redir @trailingQuestion {path} 301
46
47
# MAINTENANCE MODE: START
48
# respond `
0 commit comments