Skip to content

Commit

Permalink
chore: update envoy config to return 404 instead of 415
Browse files Browse the repository at this point in the history
  • Loading branch information
trietsch committed Oct 31, 2023
1 parent 63b798f commit 4befccd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/docker/envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ static_resources:
routes:
- match:
prefix: "/"
grpc: {} # Return 404 instead of 415 if no match is found
route: {cluster: grpc, timeout: 60s}
http_filters:
- name: envoy.filters.http.grpc_json_transcoder
Expand Down
1 change: 1 addition & 0 deletions rest/envoy-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ static_resources:
routes:
- match:
prefix: "/"
grpc: {} # Return 404 instead of 415 if no match is found
route: { cluster: grpc, timeout: 60s }
http_filters:
- name: envoy.filters.http.grpc_json_transcoder
Expand Down

0 comments on commit 4befccd

Please sign in to comment.