Basic shortening on server with nginx , redis , lua