From 7ebfd3b4e416a340dedd8591b00c5820e9941cd8 Mon Sep 17 00:00:00 2001 From: Paul Couture Date: Thu, 14 Dec 2023 11:31:39 -0600 Subject: [PATCH] feat: removing asset redirect --- nginx/default.conf | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nginx/default.conf b/nginx/default.conf index 89a8bf2..f15595a 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -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;