try

rewrite ^/(.*)\.gifv /vid.php?id=$1 last;

On Tue, Nov 8, 2016 at 8:20 PM, khav <[email protected]> wrote:

> Suppose i have a url as `http://somesite.com/ekjkASDs.gifv` , i want to
> rewrite it as `http://somesite.com/vid.php?id=ekjkASDs`
>
> Posted at Nginx Forum: https://forum.nginx.org/read.
> php?2,270815,270815#msg-270815
>
> _______________________________________________
> nginx mailing list
> [email protected]
> http://mailman.nginx.org/mailman/listinfo/nginx
>



-- 
*Anoop P Alias*
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to