diff --git a/SPECS/nginx.spec b/SPECS/nginx.spec
index 3c51e2d..c807d65 100644
--- a/SPECS/nginx.spec
+++ b/SPECS/nginx.spec
@@ -19,7 +19,7 @@
 Name:              nginx
 Epoch:             1
 Version:           1.20.0
-Release:           1%{?dist}
+Release:           2%{?dist}
 
 Summary:           A high performance web server and reverse proxy server
 Group:             System Environment/Daemons
@@ -261,6 +261,7 @@ export DESTDIR=%{buildroot}
 %endif
     --with-debug \
     --with-cc-opt="%{optflags} $(pcre-config --cflags)" \
+    --with-compat \
     --with-ld-opt="$RPM_LD_FLAGS -Wl,-E" # so the perl module finds its symbols
 
 make %{?_smp_mflags}
@@ -473,6 +474,9 @@ fi
 
 
 %changelog
+* Fri Aug 20 2021 Luboš Uhliarik <luhliari@redhat.com> - 1:1.20.0-2
+- Resolves: #1991796 - build nginx with --with-compat
+
 * Wed May 05 2021 Lubos Uhliarik <luhliari@redhat.com> - 1:1.20.0-1
 - new version 1.20.0
 - Resolves: #1945671 - RFE: add nginx:1.20 module stream