lichess-org / lila-docker

Lichess local development using Docker Compose.
GNU Affero General Public License v3.0
44 stars 44 forks source link

Nginx http2 configuration #43

Closed fitztrev closed 10 months ago

fitztrev commented 10 months ago

Fixes

nginx-1  | 2023/12/14 21:54:39 [error] 22#22: *316 could not find named location "@h2c", client: 172.18.0.1, server: lichess, request: "GET /api/stream/event HTTP/1.1", host: "localhost:8080"
nginx-1  | 172.18.0.1 - - [14/Dec/2023:21:54:39 +0000] "GET /api/stream/event HTTP/1.1" 500 177 "-" "Java/21.0.1 chariot/?" "-"

To recreate:

curl localhost:8080/api/stream/event -N -H "Authorization: Bearer lip_abc123" --http2

https://serverfault.com/a/1120503