Laravel authenticated user ID in NGINX access log
For debugging and/or easy searching it's handy to have the user ID in the NGINX access logs so you can quickly find logs for a specific user.
There are 2 parts to achieving this:
Add the user ID as a response header to our Laravel app using a middle...
alex.bouma.blog4 min read