Pi Dashboard
sudo apt-get update sudo apt-get install nginx php7.0-fpm php7.0-cli php7.0-curl php7.0-gd php7.0-mcrypt php7.0-cgi sudo service nginx start sudo service php7.0-fpm restart sudo nano /etc/nginx/sites-available/default
location / { index index.html index.htm index.php default.html default.htm default.php; } location ~\.php$ { fastcgi_pass unix:/run/php/php7.0-fpm.sock; #fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }
sudo service nginx restart cd /var/www/html sudo git clone https://github.com/spoonysonny/pi-dashboard.git