Skip to content

Commit 5fe9c15

Browse files
author
Pierre Villette
committed
Add support for Drupal core search
1 parent 85ae200 commit 5fe9c15

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

templates/apps/drupal/drupal.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ location / {
151151
open_file_cache_errors off;
152152
}
153153

154+
## Core search support.
155+
location ~* (/[[:alpha:]-]+)?/search/.+/.+ {
156+
try_files $uri @drupal-no-args;
157+
}
158+
154159
## PDFs and powerpoint files handling.
155160
location ~* ^.+\.(?:pdf|pptx?)$ {
156161
expires 30d;

0 commit comments

Comments
 (0)