feat: removing asset redirect

This commit is contained in:
Paul Couture 2023-12-14 11:31:39 -06:00
parent 2ec4405b7b
commit 7ebfd3b4e4

View File

@ -23,14 +23,6 @@ server {
fastcgi_pass unix:/var/run/php/php-fpm.sock;
}
location /assets {
set $modified_filename "";
if ($filename) {
set $modified_filename $filename;
}
rewrite ^ /legacy-asset?asset=$modified_filename last;
}
# handle .php
location ~ \.php$ {
fastcgi_pass unix:/var/run/php/php-fpm.sock;