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:

How can you work with a JSON value if you know nothing about it?

I have talked about the difficulty of typing certain JSON values coming from some APIs. The JSON is just very complicated. When I do that,...