Files
pos-system/infra/traefik
Ho Ngoc Hai b104fafa85 Refactor auth-service to iam-service and update related documentation
- Renamed auth-service to iam-service across various files for consistency.
- Updated Dockerfiles, deployment configurations, and documentation to reflect the service name change.
- Enhanced testing commands in documentation to point to the new iam-service.
- Removed outdated auth-service files and configurations to streamline the project structure.
- Improved bilingual documentation for clarity on the new service structure and usage.
2025-12-30 20:54:21 +07:00
..
2025-12-27 01:31:10 +07:00
2025-12-27 01:31:10 +07:00

Traefik Configuration

Traefik reverse proxy and load balancer configuration.

Files

  • traefik.yml - Static configuration
  • dynamic/routes.yml - HTTP routing rules
  • dynamic/middlewares.yml - Middleware definitions (CORS, rate limiting, security headers)

Usage

Traefik will automatically discover services via Docker labels or file-based configuration.

Routes

  • /api/v1/auth/* -> Auth Service
  • /api/v1/users/* -> Auth Service

Middlewares

  • secure-headers - Security headers
  • cors - CORS configuration
  • auth-ratelimit - Rate limiting for auth endpoints
  • compress - Response compression