Skip to content

Commit 08c75ca

Browse files
authored
Allow install|update scripts in Drupal8+ (#599)
1 parent f56b598 commit 08c75ca

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

roles/nginx/templates/drupal8.j2

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
######### Default block.
22

33
# Generic rewrite rule.
4-
location @rewrite {
4+
location @rewrite {
55
rewrite ^ /index.php?$query_string;
66
}
7+
# Allow install/update for local stack for Drupal8+.
8+
location ~ ^/core/(install|update).php$ {
9+
try_files @phpprocess @phpprocess;
10+
}
711
include "/etc/nginx/conf.d/drupal_common";

0 commit comments

Comments
 (0)