Convert urls list to nginx or apache redirects