Skip to content

Commit abf638a

Browse files
authored
Merge pull request #84 from Niklan/Niklan-patch-1
Add support for Drupal 10.1 CSS/JS aggregation.
2 parents 70a2e3a + decf33d commit abf638a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/presets/drupal10.conf.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ location / {
4949
internal;
5050
}
5151

52-
location ~* /files/styles/ {
52+
location ~* /files/(css|js|styles)/ {
5353
access_log {{ getenv "NGINX_STATIC_ACCESS_LOG" "off" }};
5454
expires {{ getenv "NGINX_STATIC_EXPIRES" "1y" }};
5555
try_files $uri @drupal;
@@ -218,4 +218,4 @@ location ~ (?<upload_form_uri>.*)/x-progress-id:(?<upload_id>\d*) {
218218
location ~ ^/progress$ {
219219
upload_progress_json_output;
220220
report_uploads uploads;
221-
}
221+
}

0 commit comments

Comments
 (0)