Skip to content

Releases: pei-jikui/nginx-if

Fix a compiling error for some certain gcc versions.

30 Apr 01:43
20eb079
Compare
Choose a tag to compare
Merge pull request #7 from pei-jikui/init

Init the operator before using it to avoid some compiling errors.

prioritized multiple logic operators computation are supported.

13 Apr 00:48
7dde464
Compare
Choose a tag to compare

multiple prioritized logic operators supported

multiple logic operators are supported

10 Apr 04:35
4e2e616
Compare
Choose a tag to compare

support up to 5 logic operators in one if condition. The limitation of 5 is duo to the stack size of the script engine is 10.

if (a || b && c || d || e && f) {
}

Doesn't support the priority of the operators. The value is computed in order from left to right.

We will try to support the priority later.

nginx if condition enhancement

09 Apr 15:44
4e2e616
Compare
Choose a tag to compare

support simply logic computation for if directive such as if (a || b) , if (a &&b). Planning to support more complicated logic computation such as if (a && (b || c)) etc ..