如何使Wildfly 10.1在HTTPS和HTTP中都使用HTTP / 2协议? [英] How to make Wildfly 10.1 use HTTP/2 Protocol in both HTTPS and HTTP?
本文介绍了如何使Wildfly 10.1在HTTPS和HTTP中都使用HTTP / 2协议?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我按照 Wildfly 10.1新闻中的简单说明启用了端口8443上的HTTP / 2和TLS协议并且一切都很顺利。
I followed the simple instructions in this Wildfly 10.1 news that enables HTTP/2 and TLS protocol on port 8443 and everything went perfectly.
但是我想在HTTP页面中启用HTTP / 2协议,在HTTP中同时获取此协议。
But I would like to enable HTTP/2 protocol also in pages HTTP, getting this protocol in both HTTPS as in the HTTP.
有可能吗?
我如何直接在standalone-full.xml配置文件中进行此更改?
And how I can make this change directly in the standalone-full.xml configuration file?
谢谢。
推荐答案
HTTP2仅适用于SSL / TLS
HTTP2 works only with SSL/TLS
浏览器不支持没有加密的HTTP2
Browsers do not support HTTP2 without encryption
这篇关于如何使Wildfly 10.1在HTTPS和HTTP中都使用HTTP / 2协议?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文