Hi,
I'm investigating the prospects of setting $document_root based of a value sitting in a text file. Not believing that I could just have the configuration file read from a .txt, my initial thought was to create a module, calling the directive in nginx.conf and passing the path to the txt file there, and using the module to set $document_root according to the contents of the text file. Unsure how to accomplish this at the moment. Anyone have any advice/solutions for this problem?
Thanks!
Jason