0Pricing
API Gateway & Reverse Proxy (Nginx + Spring Cloud Gateway) · درس

أساسيات الوكيل العكسي

تعمّقوا في المفاهيم الأساسية للوكلاء العكسيين، وكيف يختلفون عن الوكلاء الأماميين، وفوائدهم لخوادم الويب.

أساسيات الوكيل العكسي درس مجاني في API Gateway & Reverse Proxy (Nginx + Spring Cloud Gateway) على CoddyKit. هذا هو الدرس 2 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في API Gateway & Reverse Proxy (Nginx + Spring Cloud Gateway)، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة API Gateway & Reverse Proxy (Nginx + Spring Cloud Gateway) 4 دروس في المجموع.

بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.

What is a Reverse Proxy?

A reverse proxy is the mirror image of a forward proxy — it sits in front of your servers, intercepting client requests before they reach the real backends.

Reverse vs. Forward Proxy

The key split: a forward proxy fronts clients and hides them; a reverse proxy fronts servers, hides them, and routes requests to the right backend.

Benefit 1: Load Balancing

A reverse proxy's killer feature is load balancing — spreading incoming requests across multiple backends so no single server gets overwhelmed.

Benefit 2: Enhanced Security

A reverse proxy adds a security layer: clients never touch your backends directly, so their IPs stay hidden and malicious requests get filtered first.

Benefit 3: Caching Content

Reverse proxies speed things up with caching — they store static assets like images and CSS and serve them directly, sparing your backends the work.

Benefit 4: SSL/TLS Termination

With SSL/TLS termination, the reverse proxy decrypts HTTPS and forwards plain HTTP to backends — offloading CPU-heavy crypto and centralizing certs.

How a Reverse Proxy Works

A request flows in: the client hits the reverse proxy, it picks a backend, forwards the request, then relays that server's response back to the client.

Common Use Cases

Reverse proxies are everywhere: fronting high-traffic sites, routing microservices, powering CDNs, and serving as the backbone of API gateways.

A Simple Conceptual Example

Picture a blog on Server A and a store on Server B. A reverse proxy at yourdomain.com sends /blog to A and /store to B — clients only ever see the proxy.

Test Your Knowledge

Which of the following is a primary benefit of using a reverse proxy for a web application?

Recap: Reverse Proxy Fundamentals

Recap: a reverse proxy fronts your servers to add load balancing, security, caching, and SSL termination — the foundation of scalable web apps.

الأسئلة الشائعة

هل درس «أساسيات الوكيل العكسي» مجاني؟

نعم — نص درس «أساسيات الوكيل العكسي» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة API Gateway & Reverse Proxy (Nginx + Spring Cloud Gateway)، انتقل إلى CoddyKit PRO. تتضمن دورة API Gateway & Reverse Proxy (Nginx + Spring Cloud Gateway) 4 دروس في المجموع.

ماذا ستتعلم في «أساسيات الوكيل العكسي»؟

تعمّقوا في المفاهيم الأساسية للوكلاء العكسيين، وكيف يختلفون عن الوكلاء الأماميين، وفوائدهم لخوادم الويب. تتمرن على API Gateway & Reverse Proxy (Nginx + Spring Cloud Gateway) مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.

هل أحتاج إلى خبرة سابقة لأبدأ API Gateway & Reverse Proxy (Nginx + Spring Cloud Gateway)؟

لا تُشترط خبرة سابقة. API Gateway & Reverse Proxy (Nginx + Spring Cloud Gateway) على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 2 من أصل 4.

كم من الوقت يستغرق درس «أساسيات الوكيل العكسي»؟

معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.

هل يمكنني كتابة وتشغيل أكواد في درس API Gateway & Reverse Proxy (Nginx + Spring Cloud Gateway) هذا؟

نعم. كل درس في API Gateway & Reverse Proxy (Nginx + Spring Cloud Gateway) يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. ما هو الخادم الوكيل؟
  2. أساسيات الوكيل العكسي
  3. مقدمة إلى بوابات API
  4. الوكيل الأمامي مقابل الوكيل العكسي: اختيار الأداة المناسبة
← العودة إلى API Gateway & Reverse Proxy (Nginx + Spring Cloud Gateway)