Wednesday, December 20, 2017

Understanding nginx location blocks and rewrite rules



I recently moved a cakePHP website from an Apache server to an Nginx one. I had to translate url rewriting rules from one syntax to the other, and here is what I learned. First of all, Nginx internal logic for processing rewrite rules is not as straightforward as Apache.

No comments:

The Y Combinator (Slight Return)

Tiger got to hunt, Bird got to fly; Lisper got to sit and wonder, (Y (Y Y))? Tiger got to sleep, Bird got to land; Lisper got to tell hims...