Drupal site loses all CSS/JS when enabling preprocessing
28 August 2025 at 04:40
| | I’m running Drupal on Nginx + PHP 8.2-FPM, and I’ve hit a strange issue. When I enable CSS and JS preprocessing: $config['system.performance']['js']['preprocess'] = TRUE; The site completely loses its UI, only raw HTML is shown, no CSS or JS. If I set them back to FALSE, Everything works normally, CSS and JS loads.
It looks like aggregation isn’t generating or serving any files at all. [link] [comments] |