App Engine Flexible NodeJS App adding Http2 in Nginx web server.

160 views
Skip to first unread message

Sudhanshu Gaur

unread,
Jul 13, 2018, 11:33:13 AM7/13/18
to Google App Engine
I am using App engine Flexible environment and I am currently trying to add http2, Can by any way we configure App Engine Nginx to support Http2?

wang...@google.com

unread,
Jul 13, 2018, 3:58:59 PM7/13/18
to Google App Engine
As long as your application serves over HTTPS, the servers automatically negotiate HTTP/2 so you won't need to modify your application as detailed by this Google Cloud Platform Blog post.

Sudhanshu Gaur

unread,
Jul 14, 2018, 6:39:30 AM7/14/18
to Google App Engine
But I just checked my request in fiddler and found that the protocol for the request was HTTP/1.1, Can you please tell me why is that happening?

Sudhanshu Gaur

unread,
Jul 14, 2018, 6:56:33 AM7/14/18
to Google App Engine
Also one more thing how can I make sure that ALPN support is there in nodejs or is that supported by default.


On Saturday, July 14, 2018 at 1:28:59 AM UTC+5:30, wang...@google.com wrote:

Julie (cloud platform support)

unread,
Jul 17, 2018, 4:46:34 PM7/17/18
to google-a...@googlegroups.com

According to this Google Cloud Platform Blog post, support for the HTTP/2 protocol is automatically negotiated as part of the TLS handshake via ALPN. This is done by default and the runtime used should not effect this.


If you are using the default appspot.com address then it should already be served using HTTPS. If your request is not being served with HTTPS it's probably because a custom domain is being used. Please check that you have mapped the custom domain using these steps, updated the DNS records and then secure it with SSL, either with the automatically provided one or by using your own. You can check to see if your website is secure using the tips detailed here.


Reply all
Reply to author
Forward
0 new messages