【发布时间】:2020-07-07 08:23:36
【问题描述】:
我只是在 Oracle linux 上安装 Nginx 并将其用作反向代理。
一切如我所愿。
现在我想添加这个模块:
ngx_http_v2_module
我该怎么做? 配置文件在哪里?
我看到的每个地方他们都说
他的模块不是默认构建的,应该通过 --with-http_v2_module 配置参数启用。
但我没有看到任何如何做到这一点的例子......
当我进入时
/usr/share/nginx/moudles/
我只看到这些文件:
-rw-r--r--. 1 root root 65 Mar 30 2018 mod-http-geoip.conf
-rw-r--r--. 1 root root 72 Mar 30 2018 mod-http-image-filter.conf
-rw-r--r--. 1 root root 64 Mar 30 2018 mod-http-perl.conf
-rw-r--r--. 1 root root 71 Mar 30 2018 mod-http-xslt-filter.conf
-rw-r--r--. 1 root root 59 Mar 30 2018 mod-mail.conf
-rw-r--r--. 1 root root 61 Mar 30 2018 mod-stream.conf
所以我需要下载一些东西吗?放到这个目录下?
还有 使用此模块,我可以将图像推送给用户吗? 意思是他会去网站,会在他的网页上看到我的图片\图标? 还是我需要另一个模块?
谢谢,
【问题讨论】:
-
当我运行命令时,我看到了 (--with-http_v2_module) ,现在怎么办?
-
好的,怎么办?
标签: nginx oraclelinux