From 4555ceccdd40ee084959ea0c4f08f1c693443184 Mon Sep 17 00:00:00 2001 From: wizzdom Date: Wed, 11 Dec 2024 00:41:34 +0000 Subject: [PATCH] thecollegeview: pass all dirs to phpfpm --- jobs/socs/mps-thecollegeview.hcl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/jobs/socs/mps-thecollegeview.hcl b/jobs/socs/mps-thecollegeview.hcl index a916387..23eab7e 100644 --- a/jobs/socs/mps-thecollegeview.hcl +++ b/jobs/socs/mps-thecollegeview.hcl @@ -80,10 +80,9 @@ http { client_max_body_size 5m; client_body_timeout 60; - location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|otf|eot|ico)$ { - try_files $uri /index.php; - expires max; - log_not_found off; + # Pass all folders to FPM + location / { + try_files $uri $uri/ /index.php?$args; } # Pass REST API to FPM