I'm not sure if I'm just missing something obvious here but I can't seem to find it on the tubes, I want to write some more robust conditions but I'm not sure sure of the syntax. for example is it possible for me to have an unless
condition?
views:
145answers:
3Awesome answer... that helps.
Joseph Silvashy
2010-05-29 19:32:34
A:
http://wiki.nginx.org/NginxConfiguration
http://agentzh.org/misc/slides/nginx-conf-scripting/nginx-conf-scripting.html#1
I hope these helps :)
Ramesh Tabarna
2010-05-29 19:17:11
Thanks for the link, but I've read those, I mean like specifics here, like I need to do some logic in my conf file but haven't seen any real examples of that and it would just help if someone knew what language the syntax is. The web site doesn't seem to have that.
Joseph Silvashy
2010-05-29 19:20:25
No idea about the language used for the configuration file but have added another link for you.
Ramesh Tabarna
2010-05-29 19:54:35
+2
A:
Nginx configuration files are written in a language (if you want to call it one) that was designed and implemented for nginx configuration files. Chances are are that the documentation is the only available reference beyond the source itself. I would start by either posting a message on one of the nginx forums or joining the nginx mailing list and asking there. Of course, you can also grab the source and start there.
Good luck.
D.Shawley
2010-05-29 21:07:26