Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

369
Views
Nginx add modules = how to?

I just install Nginx on Oracle linux and working with it as reverse proxy.

it's wroking as I wanted.

now I want to add this moudle:

ngx_http_v2_module

how do I do this ? where is the config file ?

everywhere I looked they say

his module is not built by default, it should be enabled with the --with-http_v2_module configuration parameter.

but I don't see any example of how to do it ....

when I enter

/usr/share/nginx/moudles/

I see this files only :

-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

so do I need to download something ? and put it in this directory ?

also with this module I could push image to user? meaning he will go the websites and will see my image\icon in his webpage? or do I need another module ?

Thanks,

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Assuming this is about Oracle Linux 7, Oracle provides nginx in two channels:

  • EPEL packages for Oracle Linux 7 (ol7_developer_EPEL)
 # yum info nginx
Loaded plugins: langpacks, ulninfo
Installed Packages
Name        : nginx
Arch        : x86_64
Epoch       : 1
Version     : 1.12.2
Release     : 2.el7
Size        : 1.5 M
Repo        : installed
From repo   : ol7_developer_EPEL
Summary     : A high performance web server and reverse proxy server
URL         : http://nginx.org/
License     : BSD
Description : Nginx is a web server and a reverse proxy server for HTTP, SMTP, POP3 and
            : IMAP protocols, with a strong focus on high concurrency, performance and low
            : memory usage.

and it is compiled with the http2 module:

# /usr/sbin/nginx -V 2>&1 | sed -e 's/--with/\n\0/g' | grep http_v2
--with-http_v2_module 
  • Alternatively there is also a version in the Software Collection Library (ol7_software_collections)
# yum info rh-nginx114
Loaded plugins: langpacks, ulninfo
Installed Packages
Name        : rh-nginx114
Arch        : x86_64
Version     : 1.14
Release     : 6.el7
Size        : 0.0  
Repo        : installed
From repo   : ol7_software_collections
Summary     : Package that installs rh-nginx114
License     : GPLv2+
Description : This is the main package for rh-nginx114 Software Collection.

where we also have support for http2:

# /opt/rh/rh-nginx114/root/usr/sbin/nginx -V 2>&1 | sed -e 's/--with/\n\0/g' | grep http_v2
--with-http_v2_module 

So basically whatever version you have installed, you should be covered.

For the configuration of this module, you should look at the upstream NGINX documentation.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!