diff --git a/roles/distgit/pagure/templates/z_pagure.conf b/roles/distgit/pagure/templates/z_pagure.conf
index c958a895ed..df2470d6ae 100644
--- a/roles/distgit/pagure/templates/z_pagure.conf
+++ b/roles/distgit/pagure/templates/z_pagure.conf
@@ -33,6 +33,7 @@ WSGIDaemonProcess pagureproc user=pagure group=packager maximum-requests=1000 di
{% endif %}
WSGIProcessGroup pagureproc
+{% if env != "staging" %}
# Apache 2.4
Require all granted
@@ -42,6 +43,7 @@ WSGIDaemonProcess pagureproc user=pagure group=packager maximum-requests=1000 di
Order deny,allow
Allow from all
+{% endif %}
#