Add rewrite rule configration for nginx