Skip to content

Commit

Permalink
Issue #71: Compiled assets broken with too many redirects on Drupal 1…
Browse files Browse the repository at this point in the history
…0.1 (#72)

Co-authored-by: Eric Smith <[email protected]>
  • Loading branch information
ericgsmith and Eric Smith authored Oct 4, 2023
1 parent 4c68bf8 commit 02fc8d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/drupal10/default.conf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ server {
}

location @rewrite {
rewrite ^/(.*)$ /index.php?q=$1;
#rewrite ^/(.*)$ /index.php?q=$1; # For Drupal <= 6
rewrite ^ /index.php; # For Drupal >= 7
}

# Don't allow direct access to PHP files in the vendor directory.
Expand Down

0 comments on commit 02fc8d8

Please sign in to comment.