If you’re getting this error message doing nginx -t or otherwise,
for instance if you’re copy/pasting Mattermost’s nginx configuration,
know that the line is
1 |
add_header X-Early-Data $ssl_early_data; |
instead of
1 |
add_header X-Early-Data $tls1_3_early_data; |
I’m not sure but I’m guessing nginx developers renamed that variable, I’m just not sure when that happened. $tls1_3_early_data must have worked some time ago, but on my nginx version it doesn’t and I have to use the $ssl_early_data variable.
see also
nginx ssl early data
mattermost’s nginx configuration
Thank you good sir! Interestingly, “ssl on;” is also deprecated.