
Docker Compose Secrets: Mount Credentials Without Putting Them in Environment Variables
Use per-service Compose secret files, verify application support, and rotate credentials without printing their values.
Read articleProfessional portfolio
Practical technical guides about servers, hosting, WordPress, email, and infrastructure.

Use per-service Compose secret files, verify application support, and rotate credentials without printing their values.
Read article
Create a restricted MySQL runtime account, constrain the source host, inspect grants, and test before retiring broad credentials.
Read article
Set up Nginx logrotate correctly: reopen logs with a signal, avoid copytruncate, debug with logrotate -d, and free disk space held by deleted log files.
Read article
Change UFW or nftables rules without losing SSH: keep a second session, schedule an automatic rollback, test from a fresh login and know the recovery path.
Read article
Fix the Nginx 502 “upstream sent too big header”: measure real response headers, size fastcgi and proxy buffers correctly, and trim bloated cookies safely.
Read article
Investigate REMOTE HOST IDENTIFICATION HAS CHANGED safely, compare SHA256 fingerprints through a trusted channel, and update only the verified host entry.
Read article
Configure and verify HTTP upstream keepalive in Nginx, understand per-worker idle pools, and avoid confusing reuse with backend connection limits.
Read article
Identify the session blocking a MySQL schema change, distinguish metadata locks from row locks, and resolve the wait without blindly killing transactions.
Read article
A published port can listen on every host interface. Understand ports versus expose, loopback scope and external verification before exposing a service.
Read article
Use PHP-FPM slowlog to locate slow-request execution, correlate logs and verify fixes. A stack trace is evidence, not a complete diagnosis.
Read article
Check the chain served by Nginx, the hostname and SNI. Repair incomplete TLS chains without disabling certificate verification.
Read article
Separate object caching from page caching, isolate each site’s Redis namespace and verify invalidation before trusting cache-hit metrics.
Read article