diff --git a/.devcontainer/assets/build-library.sh b/.devcontainer/assets/build-library.sh
index 21f19e495a9100c7865ba5c966fcc5a814d8f4b4..1cb19a8c941923367c85f8c6021ab4f40d7f78e6 100644
--- a/.devcontainer/assets/build-library.sh
+++ b/.devcontainer/assets/build-library.sh
@@ -13,7 +13,7 @@ downloadNginx() {
 
   # set nginx version
   if [ -z ${ngxVersion} ]; then
-    ngxVersion=1.26.2-1
+    ngxVersion=1.26.3-1
   fi
   elVersion=$(rpmbuild --eval %{rhel})
   echo "Downloading nginx version ${ngxVersion} (EL${elVersion})"
diff --git a/docker/Dockerfile b/docker/Dockerfile
index bea62b6fbc01d4d30b3e9a61c9133e2fb6a43cdf..7f58072f2ffeb706e13d14d8f3b534d4977c0b9d 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -27,7 +27,7 @@ COPY artifacts/*.rpm /pkgs/
 COPY nginx.repo /etc/yum.repos.d/nginx.repo
 RUN rpm -ivh /pkgs/nginx-*.el${EL_VERSION}.httpg.x86_64.rpm && \
     rpm -ivh /pkgs/nginx-module-http-voms-*.el${EL_VERSION}.x86_64.rpm && \
-    dnf install -y nginx-module-njs \
+    dnf install -y nginx-module-njs-$(rpm -q --qf %{VERSION} nginx)* \
 # forward request and error logs to docker log collector
     && ln -sf /dev/stdout /var/log/nginx/access.log \
     && ln -sf /dev/stderr /var/log/nginx/error.log
diff --git a/rpm/nginx-module-http-voms.spec b/rpm/nginx-module-http-voms.spec
index 8d45c81bcc1d44ec5933555db933b8a7f088c459..719e4c982aa31c1ce7eb4557fbdd60be2fc2451f 100644
--- a/rpm/nginx-module-http-voms.spec
+++ b/rpm/nginx-module-http-voms.spec
@@ -1,6 +1,6 @@
 %define nginx_user nginx
 %define nginx_group nginx
-%define base_version 1.26.2
+%define base_version 1.26.3
 %define bdir %{_builddir}/%{name}-%{base_version}
 
 Name:           nginx-module-http-voms
@@ -84,6 +84,9 @@ fi
 
 
 %changelog
+* Thu Mar 6 2025 Francesco Giacomini
+- nginx http voms module updated to 1.26.3-1.0.0
+
 * Fri Oct 18 2024 Francesco Giacomini
 - nginx http voms module updated to 1.26.2-1.0.0