Skip to content

Commit

Permalink
Add path patterns in load balancer for ooniprobe service (#181)
Browse files Browse the repository at this point in the history
Adds load balancer configuration to add probe services to the API in
`api.ooni.org`

Includes `/register`, `/update` and `/login`

This PR solves #180
  • Loading branch information
LDiazN authored Feb 10, 2025
1 parent 2556928 commit 600bb8a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tf/modules/ooniapi_frontend/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ resource "aws_lb_listener_rule" "ooniapi_ooniprobe_rule" {
path_pattern {
values = [
"/api/v2/ooniprobe/*",
"/api/v1/login",
"/api/v1/register",
"/api/v1/update/*"
]
}
}
Expand Down

0 comments on commit 600bb8a

Please sign in to comment.