From 2140be95456f04392255b69407b6dd155034f271 Mon Sep 17 00:00:00 2001 From: Curtis Hall Date: Mon, 3 Apr 2023 16:42:26 -0500 Subject: [PATCH] Create jammy nginx-include file --- nginx-configs/php/jammy.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 nginx-configs/php/jammy.conf diff --git a/nginx-configs/php/jammy.conf b/nginx-configs/php/jammy.conf new file mode 100644 index 00000000..2097e86a --- /dev/null +++ b/nginx-configs/php/jammy.conf @@ -0,0 +1,10 @@ + location ~ \.php$ { + fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; + fastcgi_split_path_info ^(.+\.php)(/.*)$; + include fastcgi.conf; + set $path_info $fastcgi_path_info; + fastcgi_read_timeout 300; + fastcgi_param PATH_INFO $path_info; + fastcgi_param SCRIPT_FILENAME $document_root/index.php; + fastcgi_index index.php; + }