I think that you need to replace spdy
with http2
in /etc/nginx/conf.d/discourse.conf
.
And install a certificate it is simple with the letsencrypt tool (aka certbot).
btw, I have updated that wiki to support http2
instead of deprecated spdy
.