I want to disable http2 for my nginx server. I am using custom templates for my domains and I have removed http2 flag from listen directive.
But I found out on Stackoverflow that:
https://stackoverflow.com/a/39466948/7389619
You have to disable http2 for all server blocks on one IP Adress / Port. If there is one server block configured to enable http2 it is enabled for all server blocks on this IP.
I found out that the config file for server ip address /etc/nginx/conf.d/*.*.*.*.conf contains the http2 flag which is enabling http2 for all domains.
I think it is built from the template file hestiacp/install/deb/nginx/unassigned.inc
I would like to know if there is a way to change template file for *.*.*.*.conf because if I change the unassigned.inc template file it might be replaced after an update.