Skip to content

Commit e68cd24

Browse files
committed
- Changed try_files for PHP files.
1 parent e19c2ea commit e68cd24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/conf/nginx_vhost.conf.master

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ server {
106106
}
107107

108108
location ~ \.php$ {
109-
try_files /non_existing_file.htm @php;
109+
try_files @php @php;
110110
}
111111

112112
<tmpl_if name='php' op='==' value='php-fpm'>
@@ -153,7 +153,7 @@ server {
153153
auth_basic_user_file <tmpl_var name='htpasswd_path'>.htpasswd;
154154

155155
location ~ \.php$ {
156-
try_files /non_existing_file.htm @php;
156+
try_files @php @php;
157157
}
158158
}
159159
</tmpl_loop>

0 commit comments

Comments
 (0)