From ebcf1ff79569cd0187e384a3391225c7d3038858 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 3 Aug 2022 11:59:46 -0700 Subject: [PATCH] pagure: fix "ServerLimit cannot occur within section" error Signed-off-by: Kevin Fenzi --- roles/pagure/templates/0_pagure.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/pagure/templates/0_pagure.conf b/roles/pagure/templates/0_pagure.conf index 4391321541..90baa0a32f 100644 --- a/roles/pagure/templates/0_pagure.conf +++ b/roles/pagure/templates/0_pagure.conf @@ -8,6 +8,10 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na Protocols h2 h2c http/1.1 +ServerLimit 1500 +MaxRequestWorkers 1500 +MaxConnectionsPerChild 1000 + ## Redirects http -> https @@ -80,10 +84,6 @@ Protocols h2 h2c http/1.1 {% endif %} TimeOut 600 - ServerLimit 1500 - MaxRequestWorkers 1500 - MaxConnectionsPerChild 1000 - Alias "/robots.txt" "/var/www/html/robots.txt" WSGIScriptAlias / /var/www/pagure.wsgi