From e68cd24e02b242a53c179dcfacc59ff3c18ec7f3 Mon Sep 17 00:00:00 2001
From: ftimme <ft@falkotimme.com>
Date: Thu, 14 Jun 2012 07:41:30 -0400
Subject: [PATCH] - Changed try_files for PHP files.
---
server/conf/nginx_vhost.conf.master | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/conf/nginx_vhost.conf.master b/server/conf/nginx_vhost.conf.master
index 9f13db4..1d11153 100644
--- a/server/conf/nginx_vhost.conf.master
+++ b/server/conf/nginx_vhost.conf.master
@@ -106,7 +106,7 @@
}
location ~ \.php$ {
- try_files /non_existing_file.htm @php;
+ try_files @php @php;
}
<tmpl_if name='php' op='==' value='php-fpm'>
@@ -153,7 +153,7 @@
auth_basic_user_file <tmpl_var name='htpasswd_path'>.htpasswd;
location ~ \.php$ {
- try_files /non_existing_file.htm @php;
+ try_files @php @php;
}
}
</tmpl_loop>
--
Gitblit v1.9.1