From c0e1e016374d9ce9910def7c269511e61d426e8d Mon Sep 17 00:00:00 2001 From: gyurix Date: Mon, 1 Jul 2024 12:53:33 +0200 Subject: [PATCH] testing php --- Dockerfile | 2 +- nginx.conf | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3115d02..36a9e97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -71,4 +71,4 @@ VOLUME ["/var/cache/nginx"] EXPOSE 80 -CMD nginx +CMD php & nginx diff --git a/nginx.conf b/nginx.conf index fc20381..39d4047 100644 --- a/nginx.conf +++ b/nginx.conf @@ -32,8 +32,7 @@ http { location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; - #fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; - fastcgi_param SCRIPT_FILENAME /usr/share/nginx/html$fastcgi_script_name; + fastcgi_param SCRIPT_FILENAME /usr/share/nginx/html$fastcgi_script_name; include fastcgi_params; }