From 8a889184904e1abc607eb4f68fcc83bf59d1114f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 25 Jun 2024 14:49:51 +0100 Subject: [PATCH] change /sys/services and ticket-messages endpoints to use the dp_internal (relatively unlimited) fpm pool --- etc/nginx/conf.d/deskpro_server_params | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/nginx/conf.d/deskpro_server_params b/etc/nginx/conf.d/deskpro_server_params index 6209904..f33e79a 100644 --- a/etc/nginx/conf.d/deskpro_server_params +++ b/etc/nginx/conf.d/deskpro_server_params @@ -30,12 +30,12 @@ location ^~ /sys/services/broadcaster/ { include /etc/nginx/conf.d/deskpro_fastcgi_params; } -location ~ ^/(admin\-api|agent\-api|sys/services)/ { +location ~ ^/(admin\-api|agent\-api)/ { fastcgi_pass unix:/run/php_fpm_dp_gql.sock; include /etc/nginx/conf.d/deskpro_fastcgi_params; } -location ^~ /sys/services/search-indexing/ { +location ~ ^/(ticket\-channels|sys/services)/ { fastcgi_pass unix:/run/php_fpm_dp_internal.sock; include /etc/nginx/conf.d/deskpro_fastcgi_params; }