location ~ ^/auth/ {
root /var/www/news.site.ru/news;
index index.php;
location ~ \.php$ {
add_header X-debug "$uri" always;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
fastcgi_index app.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_intercept_errors on;
include fastcgi_params;
}
}
ALTER TABLE cert_data ADD INDEX (number), ADD INDEX (prop), ADD INDEX (value);
ALTER TABLE statement ADD INDEX (status), ADD INDEX(number);