reverse-proxy

Configure Nginx and Traefik reverse proxies for routing and SSL termination.

46|4|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill reverse-proxy-bagelhole
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reverse-proxy
Source: https://github.com/BagelHole/DevOps-Security-Agent-Skills/tree/main/infrastructure/networking/reverse-proxy
Command: npx skills add https://github.com/BagelHole/DevOps-Security-Agent-Skills --skill reverse-proxy-bagelhole

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps in setting up and configuring reverse proxies like Nginx and Traefik to manage incoming traffic, route requests to appropriate backend services, and handle SSL termination.

Core Features & Use Cases

  • Nginx Configuration: Provides a sample Nginx configuration for SSL termination and proxying requests to a backend service.
  • Traefik Configuration: Offers a basic Traefik configuration for Docker environments, enabling dynamic routing.
  • Use Case: When deploying multiple microservices, a reverse proxy is essential for directing external traffic to the correct service based on domain names or paths, and for securing communication with SSL certificates.

Quick Start

Configure nginx to proxy requests for api.example.com to a backend service running on port 8080.

Frequently Asked Questions about reverse-proxy

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

FAQPage Schema
How do I configure nginx as a reverse proxy for SSL termination and backend routing?

To configure nginx as a reverse proxy for SSL termination, you set up server blocks that listen for incoming traffic and proxy requests to your backend services. This directs external traffic to the correct application port.

What is the best way to route traffic to multiple microservices using a reverse proxy?

Using a reverse proxy like Traefik or Nginx is the best way to route traffic to multiple microservices. They direct external requests to the correct service based on domain names or paths while securing communication with SSL certificates.

Does this reverse proxy configuration support dynamic routing in Docker environments?

Yes, the Traefik configuration supports dynamic routing in Docker environments. It provides a basic setup for Docker environments, enabling dynamic routing to direct traffic flow to appropriate backend services automatically.

How do I proxy requests for a specific domain to a local backend service port?

You proxy requests for a specific domain by configuring your reverse proxy to route traffic for that domain name to a backend service running on a designated port. For example, proxying api.example.com to port 8080.

Nginx vs Traefik for managing application gateways and traffic flow?

Nginx uses server blocks for SSL termination and proxying requests, while Traefik offers dynamic routing tailored for Docker environments. Both manage traffic flow to backend services as application gateways.

When do I need a reverse proxy for my application routing setup?

You need a reverse proxy when deploying multiple microservices and must direct external traffic to the correct service based on domain names or paths. It is essential for managing traffic flow and handling SSL termination.