add http2
This commit is contained in:
parent
f0280e134c
commit
eb985ce551
|
@ -14,6 +14,7 @@ export SYSTEM_USER_USERNAME
|
|||
export SYSTEM_USER_GROUP
|
||||
export PHP_ENABLED
|
||||
export MOD_FCGI
|
||||
export MOD_HTTP2
|
||||
export PHP_VERSION
|
||||
export WEB_HTTP
|
||||
export WEB_HTTPS
|
||||
|
|
|
@ -28,13 +28,13 @@
|
|||
SetHandler "proxy:fcgi://127.0.0.1:{{ PHP_FPM_PORT }}/"
|
||||
</FilesMatch>
|
||||
</IfModule>
|
||||
{% endif %}
|
||||
{% if MOD_HTTP2 is not empty %}
|
||||
|
||||
<IfModule {{ MOD_HTTP2 }}>
|
||||
Protocols h2 http/1.1
|
||||
</IfModule>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% block extra %}{% endblock extra %}
|
||||
</VirtualHost>
|
||||
{% endblock body %}
|
||||
|
|
Loading…
Reference in a new issue