From e8d15adeb4d039f159394ed5e36f1af8774d1932 Mon Sep 17 00:00:00 2001 From: bmen Date: Mon, 30 Sep 2019 08:34:21 +0000 Subject: [PATCH] nginx conf ohne php --- site.conf | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/site.conf b/site.conf index a0d9fe3..0f28dae 100644 --- a/site.conf +++ b/site.conf @@ -1,17 +1,7 @@ server { - index index.php index.html; + index index.html; server_name php-docker.local; error_log /var/log/nginx/error.log; access_log /var/log/nginx/access.log; root /var/www/html; - - location ~ \.php$ { - try_files $uri =404; - fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_pass php:9000; - fastcgi_index index.php; - include fastcgi_params; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - fastcgi_param PATH_INFO $fastcgi_path_info; - } } \ No newline at end of file