I've recently enabled ipv6 on my site, and while I don't often have a need to manually look at an access_log file, on the occasion that I do it's now very jarring that my first (IP) column is sometimes 7 characters long and sometimes 39 characters.
Is there any way of padding the first column to be always (say) 39 characters wide?
I've googled and looked at the nginx docs and I can't find anything, but figured someone on here might know a trick...
I assume if nothing else it'll be possible with map
somehow, but I only know to use regexp with that and can't think of a way to play with length or padding...