Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Correct me if I’m wrong, but since this version of nginx is built using Openssl 1.0.1, it doesn’t have support for ALPN, right? I did exactly this a few months ago, and only realized this afterwards. To get ALPN working on Ubuntu 14.04, you apparently have to build nginx from source. And while it’s not a problem now, Chrome is ending support for NPN on May 15th. At which point I imagine this configuration will simply stop working. There’s a test website here that let’s you check whether or not ALPN is supported by your server:
thanks for this great tutorial.
i have one questions regarding Connection Credentials Caching though, is it possible to store ssl credentials for all my subdomains? or simply by following these 2 lines enable caching for subdomains automatically?
ssl_session_cache shared:SSL:5m; ssl_session_timeout 1h;
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains: always;
should be
add_header Strict-Transport-Security “max-age=15768000; includeSubDomains: always;”;
I do not own a domain but i want to test HTTP-2 server push feature so the option i have is to use localhost as server_name. Can i generate ssl certificate for localhost? or can I connect the client and server using HTTP/2 connection without HTTPS?
my site isnt working on microsoft edge and ie 11… pressing f12, i noticed that protocol type is “pending”… any thoughts? https://estiloasmeninas.com tnkss
SOLVED: just used that code for ssl.
I used this setup, and went to the page refeenced in this article to enable support for winxp, and testing my website here: https://tools.keycdn.com/http2-test says that i have http2, but when i go there on a browser it does not use it.
As far as I know Nginx doesn’t support Server Push yet - but maybe someone can enlighten me on this one? ✨
Is there an update for the article showing how we enable ALPN support? 😅 Thanks in advance.
Always love tutorial from you guys, but there is a small mistake. According to nginx’s document, HSTS config should be:
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
I tried your config and tested with ssllab which gave me “Invalid Failed to parse header max-age=15768000; includeSubDomains: always;”