Devops
- How I build a basic nginx config without starting from an empty file
An nginx config is easier to write when I start from the kind of site I am serving: static files, SPA, PHP, or reverse proxy. The nginx Config Generator tool helps me inspect the input and output without writing a …
- How I build a find command without deleting the wrong files
The find command is one of the most useful Linux commands, but it is also one of the commands I treat with respect. It can search thousands of files very quickly, and with the wrong option it can also delete thousands of …
- How I build an nginx reverse proxy config without memorising everything
An nginx reverse proxy config can look intimidating when you are still learning: server { listen 80; server_name app.example.com; location / { proxy_pass http://127.0.0.1:3000; proxy_set_header Host $host; …
- How I check common port numbers when debugging a service
Port numbers are labels for network services, but a port number alone does not guarantee what is actually running there. The Port Reference tool helps me inspect the input and output without writing a one-off script …
- How I filter Docker logs without losing the useful lines
Docker logs can get noisy very quickly. A service may print hundreds or thousands of lines, and the line you need is often buried in the middle. The basic command is:
- How I parse logs before searching randomly
Logs become easier to investigate when they are split into fields instead of treated as one giant wall of text. The Log Parser tool gives me a safe place to test the idea before I put it into a script, server, or …
- How I read YAML without getting lost in indentation
YAML is readable when indentation is correct and confusing when it is not. A viewer helps validate and inspect the structure. The YAML Viewer tool is useful because it lets me check the result in a small, controlled …
- How I sort .env files without moving comments to the wrong place
A messy .env file makes configuration harder to review. Sorting helps, but comments and duplicates need care. The .env Key Sorter tool gives me a safe place to test the idea before I put it into a script, server, or …
- How I think about SSH tunnels before copying the command
SSH tunnels are powerful, but the flags are not friendly at first sight: ssh -L 8080:localhost:80 user@example.com The command is short, but the meaning is not obvious. Which machine is localhost?
- How I turn a long docker run command into Docker Compose
A docker run command is fine when it is short. But after a few ports, volumes, and environment variables, it becomes hard to read and easy to break. You may see something like this: