tags:

views:

145

answers:

3

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?

A: 

What language are nginx conf files?

English ;D

Choor
Awesome answer... that helps.
Joseph Silvashy
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
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
No idea about the language used for the configuration file but have added another link for you.
Ramesh Tabarna
+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