http2 for nginx: new token |SPACE_HTTP2| (TEMPLATES)

Version 1.52


If http2=1 is set in the directadmin.conf, a token will be present: SPACE_HTTP2= http2 where the value is " http2" or "". Note that there is a space before the http2 value, so that we don't end up with a space in the tempalte if http2 is turned off. TEMPLATES: nginx_ips.conf nginx_server_secure.conf nginx_server_secure_sub.conf added |SPACE_HTTP2| after ssl, before the semicolon: listen |IP|:|PORT_443| ssl|SPACE_HTTP2|; If you're already using custom tempaltes, this won't affect anything. Note, that the |MULTI_IP| token will now automatically insert http2 if http2=1 is enabled. per-User template changes for http2 are not required for apache, it's enabled in a global config.

Interested to try DirectAdmin? Get a 30-day Free Trial!