From 334b4c37ff43791f7d3e5f3ab1a40fd234e40578 Mon Sep 17 00:00:00 2001 From: Adam Dodman Date: Thu, 2 Mar 2017 01:53:55 +0000 Subject: [PATCH] Final fixes of muximux --- nginx.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nginx.cfg b/nginx.cfg index fe2c86a..884694d 100644 --- a/nginx.cfg +++ b/nginx.cfg @@ -4,7 +4,11 @@ server { server_name ""; location / { - location ~ \.php$ { + + root /www; + index index.php; + + location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass php:9000;