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

377
Views
Nginx agregar módulos = ¿cómo?

Acabo de instalar Nginx en Oracle Linux y trabajo con él como proxy inverso.

está funcionando como yo quería.

ahora quiero agregar este módulo:

ngx_http_v2_módulo

Cómo hago esto ? ¿dónde está el archivo de configuración?

dondequiera que miré dicen

Este módulo no está construido de manera predeterminada, debe habilitarse con el parámetro de configuración --with-http_v2_module.

pero no veo ningun ejemplo de como hacerlo....

cuando entro

/usr/share/nginx/moudles/

Solo veo estos archivos:

 -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

Entonces, ¿debo descargar algo? y ponerlo en este directorio?

¿También con este módulo podría enviar la imagen al usuario? lo que significa que irá a los sitios web y verá mi imagen\icono en su página web. o necesito otro modulo?

Gracias,

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Suponiendo que se trata de Oracle Linux 7, Oracle proporciona nginx en dos canales:

  • Paquetes EPEL para 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.

y se compila con el módulo http2:

 # /usr/sbin/nginx -V 2>&1 | sed -e 's/--with/\n\0/g' | grep http_v2 --with-http_v2_module
  • Alternativamente, también hay una versión en 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.

donde también tenemos soporte para 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

Entonces, básicamente, sea cual sea la versión que haya instalado, debe estar cubierto.

Para la configuración de este módulo, debe consultar la documentación de NGINX upstream .

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!