location /callback { rewrite ^(.*)$ /callback/index.php?s=$1 last; break; }