thecollegeview: pass all dirs to phpfpm

This commit is contained in:
wizzdom 2024-12-11 00:41:34 +00:00
parent 4aec3697b9
commit 4555ceccdd
No known key found for this signature in database
GPG key ID: EEB7D796F4B09F07

View file

@ -80,10 +80,9 @@ http {
client_max_body_size 5m; client_max_body_size 5m;
client_body_timeout 60; client_body_timeout 60;
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|otf|eot|ico)$ { # Pass all folders to FPM
try_files $uri /index.php; location / {
expires max; try_files $uri $uri/ /index.php?$args;
log_not_found off;
} }
# Pass REST API to FPM # Pass REST API to FPM