Skip to content

Commit 834173a

Browse files
committed
Fixed displaying 404 in default nginx config
1 parent dff531b commit 834173a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nginx/conf/vhosts/example._conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ server {
1010
location ~ \.php$ {
1111
include fastcgi.conf;
1212
fastcgi_pass 127.0.0.1:9000;
13+
try_files $uri =404;
1314
}
1415

1516
location ~ /\.(ht|svn) {

0 commit comments

Comments
 (0)