Skip to content

Commit a4c34de

Browse files
authored
Support 10.1 on-demand asset aggregation (#12)
1 parent 06cac48 commit a4c34de

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.docker/nginx/drupal.conf

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Passes css and js asset generation to PHP.
2+
location ~ ^/sites/.*/files/(css|js)/ {
3+
try_files $uri @rewrite;
4+
}

docker-compose.yml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ services:
1010
- "host.docker.internal:host-gateway"
1111
volumes:
1212
- ./:/data
13+
- ./.docker/nginx/drupal.conf:/etc/nginx/conf.d/location/00-drupal.conf
1314

1415
php-fpm:
1516
build:

0 commit comments

Comments
 (0)