$queryString = parse_url($url, PHP_URL_QUERY);
parse_str($queryString, $getValues);
return '/' . ($getValues['a']?? '')
. (isset($getValues['filter'])? '/filter': '')
. (isset($getValues['deleted'])? '/deleted': '');
nginx: [warn] server name "xxx.xxx.xxx.xxx" has suspicious symbols in /etc/nginx/vhosts/www-root/new.app.org.conf:2
server_name xxx.xxx.xxx.xxx/;
if ($request_method = POST) {
rewrite ^ /index.php break;
}
location = /index.php {
internal;
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location = / {
try_files $uri $uri/;
}
When this size is exceeded, it removes the least recently used data.