The following approach uses Nginx to serve the user already cached data based on their geographical location. Assume we have an application, which gets the latitude and the longitude of the user, searches through a database which in this sample appli...
To have an authentication middleware inside Nginx itself has recently been an itch in my head. The idea is clean and straightforward. Read the request header and check the token, if it was verified let the request to proceed and otherwise block it. ...