How to create a list of all possible URLs knowing only domain name and Nginx location directive? [closed]

I have a server with Nginx installed.
I know a top level domain and URI like

TLD.com/part1/part2/part3/pages/<page_UUID>.txt

How to extract all possible <page_UUID> locations (either where is it located in configuration)?