The original post: /r/nginx by /u/Ok_Cartographer_6086 on 2024-06-27 23:26:24.
Thanks in advance, I just need some hive mind support that this approach makes sense.
I need to demonstrate QUIC / HTTP/3 on iOS and Android apps on a poorly functioning wifi network.
The production platform is a combination of REST APIs and GraphQL endpoints respecting TLS 1.0 -> 1.2. behind an api gateway.
A built a wifi router with Traffic Control utils so I can simulate Packet loss and other network conditions.
I updated the http clients of the apps - I’m focused on android so this is CronNet with QUIC over HTTP/3 using okHttp interceptors.
I think it should work if I build an Nginx reverse proxy I access from the mobile device by replacing my api gateway url with the local nginx ip. What I want to see is the client making QUIC UDP requests to nginx, nginx making HTTP/2 TCP POSTs and GETs to the platform and therfor demonstrate the apps are QUIC ready.
I’m happy to go into more detail with my client code and config files - just tell me i’m not crazy for this post:
App --UDP HTTP/3-> wifi router --HTTP/3 UDP-> nginx ---http/2 TCP POST/GET --> API Gateway (HTTP/2 or < ) --> response body --> nginx --> wifi router (traffic control tools) --> App
How would you aproach this problem?