worker-api-gateway

Route backend services through Nginx and a FastAPI gateway.

1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/eron1703/claude-config-loader --skill worker-api-gateway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worker-api-gateway
Source: https://github.com/eron1703/claude-config-loader/tree/main/skills/worker-api-gateway
Command: npx skills add https://github.com/eron1703/claude-config-loader --skill worker-api-gateway

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Routes and proxies backend services behind an Nginx front end and a Python FastAPI API gateway.

Core Features & Use Cases

  • Request flow orchestration across Browser/Nginx/API gateway/backend
  • Nginx configuration guidance and route preservation of /api/ paths
  • ConfigMap-driven routing rules and health-check integrations for deployment stability
  • Debugging steps and cluster endpoint visibility for reliable operations

Quick Start

Configure your deployment by applying the Nginx setup and gateway routing rules described here to route traffic to your backend services.

Frequently Asked Questions about worker-api-gateway

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure an Nginx reverse proxy to preserve path prefixes when routing to a FastAPI backend?

To preserve path prefixes during Nginx reverse proxy routing, you apply specific configuration guidance that maintains the /api/ path structure as requests flow from the browser through the gateway to the backend services. This ensures routes resolve correctly without path stripping.

How does ConfigMap-driven routing work for an API gateway deployment?

ConfigMap-driven routing works by externalizing your API gateway routing rules into configuration maps, allowing you to manage traffic distribution dynamically without rebuilding your FastAPI application or Nginx server images. This approach centralizes routing updates for easier maintenance.

What is the best way to implement health checks across Nginx, an API gateway, and backend services?

The best way to implement health checks across this stack is to integrate robust health-check endpoints at the Nginx front end, the FastAPI gateway, and the backend services. This configuration provides deployment stability and clear cluster endpoint visibility for reliable operations.

Can I use a Python FastAPI gateway to orchestrate request flow before hitting backend services?

Yes, you can use a Python FastAPI gateway to orchestrate request flow. This setup proxies backend services behind an Nginx front end, managing request flow across the browser, gateway, and backend layers while applying your custom routing rules and health checks.

Why does my Nginx to FastAPI proxy lose the /api/ path prefix during deployment?

Your Nginx to FastAPI proxy loses the /api/ path prefix when standard proxy configurations strip path segments before forwarding. Applying route preservation guidance ensures the prefix is maintained end-to-end, allowing the backend services to correctly resolve incoming requests.

What debugging steps are available when routing rules fail between Nginx and a FastAPI gateway?

Debugging steps for failed routing rules include utilizing clear documentation for maintenance and checking cluster endpoint visibility. By tracing the request flow orchestration across Nginx, the API gateway, and the backend, you can isolate proxy misconfigurations or missing health checks.