소스 검색

Merge pull request #1798 from okpierre/patch-6

Update nginx.conf
daniel 5 년 전
부모
커밋
8b7963b30c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      contrib/nginx.conf

+ 1 - 0
contrib/nginx.conf

@@ -30,6 +30,7 @@ server {
 
     location ~ \.php$ {
         fastcgi_split_path_info ^(.+\.php)(/.+)$;
+        try_files $fastcgi_script_name =404;
         fastcgi_pass unix:/run/php-fpm/php-fpm.sock; # make sure this is correct
         fastcgi_index index.php;
         include fastcgi_params;