Search
Lessons (19)
- Nginx Reverse Proxy & HTTPS
Put Nginx in front of your app: route domains to the right port, host several apps on one …
- Deploy a Node.js App to a VPS, Step by Step
… Nginx in front bash sudo tee /etc/nginx/sites-available/myapp /dev/null <<'EOF' server { listen 80; server …
- Zero-Downtime Deploys & Rollbacks
… Deploy to the idle one, check it, then tell Nginx to switch. ![Nginx points at the blue instance …
- Linux Troubleshooting Playbook & Interview Questions
… The first layer that fails is where the problem lives. ![Follow the request from DNS to firewall, Nginx …
- Linux Command-Line Essentials
… avoid working as root /usr/bin , /usr/local/bin Installed programs node , git , nginx /tmp Temporary files, cleared …
- Docker in Production on a Single Server
… 10 nginx: image: nginx:1.27-alpine restart: unless-stopped ports: - "80:80" - "443:443" the ONLY ports …
- DevOps and the Path from Code to Server
… Run The app runs as a service and restarts if it crashes Linux, systemd, Nginx, Docker 6. Monitor …
- Pods: Where Your App Actually Runs
… Meaning --- --- Container Your packaged program, such as an Nginx or Node.js process Pod The Kubernetes wrapper that …
- Services and Ingress: Let Traffic Find Your App
… Your cluster also needs an Ingress controller (for example NGINX, Traefik, or a cloud controller) that reads these …
- SSH, Networking & Firewalls
… Not reachable from outside Your app on 127.0.0.1:3000 behind Nginx 0.0.0.0 …
- Monitoring, Logs & Backups
… logrotate Apps that write their own files (and Nginx) need rotation , or the disk fills up. /etc/logrotate …
- API Gateway, BFF & Service Discovery
… new version yaml Simplified gateway routing config (Kong / NGINX / Envoy style) routes: - path: /api/users service: http://users …
- Jenkins: From Install to Your First Pipeline
… t expose port 8080 to the internet. Put Nginx with HTTPS in front of it (lesson 7) and …
- Run Containers on AWS with ECR and ECS
… p Dockerfile : dockerfile FROM nginx:stable-alpine COPY index.html /usr/share/nginx/html/index.html bash docker …
- Processes, Services & systemd
… no cleanup, possible data loss SIGHUP 1 Often means "reload your config" (Nginx) 💡 Your app should handle SIGTERM …
- Users, Permissions & sudo
… it in the logs. bash sudo systemctl restart nginx one privileged command sudo -i a root shell (use …
- Proxies, APIs and Real-Time Protocols
… Reverse proxy The servers A front door (like Nginx) that receives all public traffic, handles TLS (the encryption …
- Jenkins in Production: Deploys, Docker and Scaling
… Securing Jenkins Area Do this --- --- Network HTTPS via Nginx; never expose 8080 directly; restrict access with VPN or …
- Scaling, Load Balancing & Rate Limiting
… images/ to storage, terminate TLS, add headers. Examples: NGINX, HAProxy, AWS ALB, Envoy. What does a load balancer …