Search
Lessons (13)
- Design a URL Shortener
Turn long links into short ones that never get lost, redirect in milliseconds, can be switched off fast …
- Edge, Platform & Frontend Delivery
… NextRequest) { const session = request.cookies.get("session"); if (!session && request.nextUrl.pathname.startsWith("/account")) { return NextResponse.redirect(new …
- Linux Command-Line Essentials
… the folder layout, moving around, reading and editing files, pipes and redirection, and searching logs with grep and …
- Authentication, Authorization & API Security
… App- U: redirect to Google (+ PKCE challenge) U- G: log in + consent G- U: redirect back with ?code …
- Bash Scripting & Scheduled Jobs
… s output is lost (or emailed) unless you redirect it: file.log 2 &1 . - Times are in the …
- How a Web Request Works
… 200 OK, 201 Created, 204 No Content 3xx ↪️ Redirect 301 Moved Permanently, 304 Not Modified 4xx 🙋 Client made …
- Practical Lab: S3 File Upload and CloudFront Delivery with NestJS
… Use the regional bucket domain ( BUCKET.s3.REGION.amazonaws.com ), not the global one, to avoid redirect problems …
- CloudFront: Faster Websites and Safer File Delivery
… the default root object to index.html . 5. Redirect HTTP viewers to HTTPS and allow only needed methods …
- Domains, Load Balancers and HTTPS
… HTTPS listener on 443 using the certificate. 5. Redirect the HTTP listener on 80 to HTTPS if exposing …
- SSH, Networking & Firewalls
… 80/tcp HTTP (needed for Let's Encrypt + redirect to HTTPS) sudo ufw allow 443/tcp HTTPS sudo …
- Nginx Reverse Proxy & HTTPS
… the certificate and adds "listen 443 ssl" → optionally redirects HTTP to HTTPS (say yes) sudo certbot renew --dry …
- Deploy a Node.js App to a VPS, Step by Step
… nginx -d example.com -d www.example.com --redirect Step 10: Verify like a pro bash systemctl is …
- Scaling, Load Balancing & Rate Limiting
… Otherwise a client can spoof its IP or protocol and bypass IP-based limits, audit logs or redirect …