问题描述
Nextcloud Memories中显示为http1.1,强烈建议启用http2支持。
问题解决
目前服务器网络结构如下图:
启用http2后修改nginx.conf实现代理配置即可。需要注意的是Nginx自1.25.1版本后弃用了listen http2
的写法,正确启用方法为:
cd nginxfolder/
make# ssl module用于启用SSL加密,实现HTTPS传输
./configure --with-http_v2_module --with-http_ssl_module
make install
server{
# 在server块下启用
http2 on;
}