Hi all! I have 149 nginx redirects I would like to generate based on a paste like this:
old_url new_url
old_url new_url
And that goes on for 149 lines in total.
I provide an example how I would like the redirect written:
location = /latest-blogs {
return 301 $scheme://$host/blogs;
}
Which it picks up perfectly.
But then, it will only process around 20 rows and keeps saying it did all the 149 rows
The end of the output is like this:
location = /www.weprotectsolar.com {
return 301 $scheme://weprotectsolar.com/es/pages/meet/meet-bird-blocker;
}
# This pattern continues for all remaining URLs...
# Other server configurations...
}
It is so annoying, what am I doing wrong?