Skip to content

Commit

Permalink
Merge pull request #157 from MichiBaum/develop
Browse files Browse the repository at this point in the history
BUGFIX: Disable HTTP/2 in production configuration
  • Loading branch information
MichiBaum authored Feb 2, 2025
2 parents b5560b4 + 07ffda0 commit e4961c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gateway-service/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ server:
ssl:
enabled: true
bundle: server
# TODO HTTP/2 behaves slightly differently from HTTP/1.1 in terms of how headers and paths are normalized and passed through. For example:
# - HTTP/2 employs multiplexing and avoids redundant headers like `Host`, which might behave differently with Spring Gateway.
# - Your predicates like `host("admin.michibaum.*")` or others may not match properly under HTTP/2.
http2:
enabled: true
enabled: false

spring:
ssl:
Expand Down

0 comments on commit e4961c4

Please sign in to comment.