select date, price, 'table 1' as desc from table1
UNION ALL
select date, price, 'table 2' as desc from table2
UNION ALL
select date, price, 'table 3' as desc from table3
try_files $uri $uri/ /index.php?$args;
if (!-e $request_filename){
rewrite ^/(.*)$ /index.php?url=$1 last;
}
index index.php index.html;
location /en/safe {
allow (мой айпи);
deny all;
include rewrite.inc;
}
location / {
include rewrite.inc;
}