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 to build a Hugo website in AWS Lambda and deploy it to S3

This tutorial explains how to run Hugo in AWS Lambda and deploy a static website to Amazon S3. Running Hugo in AWS Lambda can be useful if...