X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0fcf341478df2184e3e78a29d093aa6017911251..3f5db81b561764ab48ff6f8f3cd9846b59a76d5a:/cookbooks/trac/templates/default/apache.erb?ds=inline diff --git a/cookbooks/trac/templates/default/apache.erb b/cookbooks/trac/templates/default/apache.erb index bc58ed276..d462cdd36 100644 --- a/cookbooks/trac/templates/default/apache.erb +++ b/cookbooks/trac/templates/default/apache.erb @@ -1,6 +1,6 @@ # DO NOT EDIT - This file is being maintained by Chef -WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> maximum-requests=5000 threads=25 inactivity-timeout=180 +WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> processes=4 threads=8 restart-interval=3600 inactivity-timeout=180 graceful-timeout=60 maximum-requests=2000 ServerName <%= @name %> @@ -54,6 +54,9 @@ WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> maximum-req DefineExternalAuth osm pipe /usr/local/bin/trac-authenticate + # Disable /timeline for now + RedirectMatch 410 ^/timeline(.*)$ + AuthType Basic AuthName "OpenStreetMap Trac"