Skip to content

Commit

Permalink
fix: wdqs traefik methods filter in deploy-lts
Browse files Browse the repository at this point in the history
  • Loading branch information
rti committed Feb 14, 2025
1 parent a77a57e commit 4863935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy-lts/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ services:
labels:
- "traefik.enable=true"
# Define router rules for WDQS service, including limits to HTTP methods
- "traefik.http.routers.wdqs-router.rule=Host(`${WDQS_PUBLIC_HOST}`) && PathPrefix(`/sparql`) && Method(`GET`, `OPTIONS`, `POST`)"
- "traefik.http.routers.wdqs-router.rule=Host(`${WDQS_PUBLIC_HOST}`) && PathPrefix(`/sparql`) && (Method(`GET`) || Method(`OPTIONS`) || Method(`POST`))"
# Add prefix to path before forwarding to upstream service
- "traefik.http.middlewares.wdqs-prefix.addprefix.prefix=/bigdata/namespace/wdq/"
# Announce limited HTTP methods in preflight requests
Expand Down

0 comments on commit 4863935

Please sign in to comment.