laike9m
laike9m

Reputation: 19388

What will happen if I enable HTTP/2 in Nginx without web app supporting it?

I have Nginx 1.9.5 installed which has HTTP/2 support. My website is running in a uWSGI container, and uWSGI doesn't support HTTP/2 for now.

If I enable HTTP/2 for Nginx, my assets will definitely load faster since I'm serving them on my own server using Nginx. What I want to know is if my website will still work. Thank you!

Upvotes: 2

Views: 509

Answers (1)

Jie Li
Jie Li

Reputation: 1066

Sure you can.

Nginx just like a diplomatist, web users don't know the inner, and they don't need to care the inner, Nginx was responsible for the request from outside, and send the same message to your inner container.

HTTP/2.0 works well no matter your container communicate with Nginx via HTTP or uWSGI. It only be used between Nginx and your users.

Upvotes: 2

Related Questions