Skip to content

Commit

Permalink
更新fastcgi链接sock的位置
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonRust committed Jan 20, 2016
1 parent 1e85138 commit df61805
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/conf/enable-php-pathinfo.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
location ~ [^/]\.php(/|$)
{
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_pass unix:/dev/shm/php-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
include pathinfo.conf;
Expand Down
2 changes: 1 addition & 1 deletion lib/conf/enable-php.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
location ~ [^/]\.php(/|$)
{
try_files $uri =404;
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_pass unix:/dev/shm/php-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
}

0 comments on commit df61805

Please sign in to comment.