Setting document root with module
jkleban
nginx-forum at nginx.us
Fri Dec 2 22:05:44 UTC 2011
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
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,219511,219511#msg-219511
More information about the nginx
mailing list