Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

Commit

Permalink
re #279 - Expose /apc and /phpinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Rombauts committed Jun 20, 2014
1 parent 5cc49ca commit 67f4363
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions puppet/modules/nginx/templates/vhost/nooku.erb
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,12 @@ server {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
}

location ~ ^/(apc|phpinfo)$ {
alias /home/vagrant/scripts/$1.php;

fastcgi_pass unix:/var/run/php5-fpm.sock;
include fastcgi_params;

}
}

0 comments on commit 67f4363

Please sign in to comment.