From 472a9abf8f4247ccd5b91e5d8f90b964276ce12f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 28 Jul 2020 11:55:26 +0100 Subject: [PATCH] Pass PHP scripts to the correct FPM pool --- cookbooks/dev/templates/default/apache.user.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/dev/templates/default/apache.user.erb b/cookbooks/dev/templates/default/apache.user.erb index d308e5977..87971664e 100644 --- a/cookbooks/dev/templates/default/apache.user.erb +++ b/cookbooks/dev/templates/default/apache.user.erb @@ -30,7 +30,7 @@ WSGIDaemonProcess <%= @user %>.dev.openstreetmap.org user=<%= @user %> inactivit RewriteRule ^/cgi-bin/(.*)$ /~<%= @user %>/cgi-bin/$1 [PT,L] - SetHandler "proxy:unix:/run/php/tomh.sock|fcgi://127.0.0.1" + SetHandler "proxy:unix:/run/php/<%= @user %>.sock|fcgi://127.0.0.1" -- 2.39.5