Skip to content

Nginx - #5

Merged
BehRoooz merged 5 commits into
mainfrom
nginx
Apr 23, 2026
Merged

Nginx#5
BehRoooz merged 5 commits into
mainfrom
nginx

Conversation

@BehRoooz

Copy link
Copy Markdown
Owner

Nginx Implementation

  • Added an nginx reverse-proxy gateway in front of all services and updated docker-compose.yml so traffic now goes through a single public entrypoint (80/443) instead of exposing internal APIs directly.

  • The gateway enforces TLS, route-level Basic Auth, request rate limiting, payload size limits, timeout/logging hardening, and routes for embedding, prediction, training, and MLflow services (with optional training profile support and runtime DNS handling for trainer-api).

- Introduce nginx/nginx.conf: HTTPS entry, path routing to services, Basic
  auth tiers, rate limits, body sizes, proxy timeouts, structured access logs
- Extend docker-compose: nginx service, internal APIs, MLflow UI base URL
- Ignore nginx secrets (htpasswd, TLS keys); update smoke script for gateway URL

Made-with: Cursor
@BehRoooz
BehRoooz merged commit e1e05bd into main Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant