diff --git a/roles/apache/templates/httpd.conf b/roles/apache/templates/httpd.conf index eafe365..aa696b7 100644 --- a/roles/apache/templates/httpd.conf +++ b/roles/apache/templates/httpd.conf @@ -1,6 +1,6 @@ StartServers 5 MinSpareServers 10 MaxSpareServers 20 -ServerLimit 256 -MaxClients 256 +ServerLimit 30 +MaxClients 30 MaxRequestsPerChild 4000 diff --git a/roles/apache/templates/phabricator.conf b/roles/apache/templates/phabricator.conf index ce530d7..393c3a5 100644 --- a/roles/apache/templates/phabricator.conf +++ b/roles/apache/templates/phabricator.conf @@ -1,24 +1,25 @@ ServerName {{ http_scheme }}{{ domain }} ServerAlias *.{{ domain }} {{ external_ip }} {{ inventory_hostname }} DocumentRoot {{ phabricator_path }}phabricator/webroot LogFormat "%{X-Forwarded-For}i %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" phabricator CustomLog "/var/log/httpd/phabricator_access.log" phabricator ErrorLog "/var/log/httpd/phabricator_error.log" #LoadModule mod_proxy_protocol /usr/lib64/httpd/modules/mod_proxy_protocol.so #ProxyProtocol On SetEnv HTTPS on RewriteEngine on RewriteRule ^/rsrc/(.*) - [L,QSA] RewriteRule ^/favicon.ico - [L,QSA] RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA] Require all granted + AllowOverride None