Docker learning journal

I started to learn Docker through an online tutorial. This post is meant to recording general ideas of what Docker is, why/when I use it, and how it looks like for myself. What is Docker? Docker is a tool that packages software in containers. Each Docker container is: a standard unit of software that packages …

Solving “upstream sent too big header while reading response header from upstream” on Nginx

If you’ve used Nginx, you may have come across this error. 2019/04/12 06:43:24 [error] 11365#0: *257 upstream sent too big header while reading response header from ups tream, client: 127.0.0.1, server: hiroki-example.com, request: “POST /payment HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “hiroki-example.com”, referrer: “http://hiroki-example.com/payment” I’ve seen this many times, but haven’t really tried to understand it deeply. In …