]> BookStack Code Mirror - devops/commitdiff
Update config/nginx/subpath-proxy-config 43/head
authorCirvaazny <redacted>
Mon, 28 Oct 2024 11:22:53 +0000 (11:22 +0000)
committerCirvaazny <redacted>
Mon, 28 Oct 2024 11:22:53 +0000 (11:22 +0000)
Update the example config to use the PHP version installed by the shell helper script.

config/nginx/subpath-proxy-config

index b64fdb6720f6a4351ac3f0c245c4a14c2f4a36ec..c7e363273a39418f9c398e533bdbedeaa00ea038 100644 (file)
@@ -31,7 +31,8 @@ server {
   
   location ~ \.php$ {
     include snippets/fastcgi-php.conf;
-    fastcgi_pass unix:/run/php/php7.4-fpm.sock;
+    # If your PHP version is not 8.3, then update the socket to point at the correct version.
+    fastcgi_pass unix:/run/php/php8.3-fpm.sock;
   }
 }