mirror of
https://github.com/pi-hole/pi-hole
synced 2025-02-16 18:12:00 +00:00
not working note, updated a couple things
parent
88d7a024f9
commit
ee60247561
@ -1,9 +1,11 @@
|
||||
. `service lighttpd stop` #stop default lighttpd
|
||||
*NOTE: This guide is currently not working*
|
||||
|
||||
. `service lighttpd stop` #stop default lighttpd
|
||||
. `apt-get -y install nginx php5-fpm apache2-utils` #install necessary packages
|
||||
. `systemctl disable lighttpd` #disable lighttpd at startup
|
||||
. `systemctl enable php5-fpm` #enable php5-fpm at startup
|
||||
. `systemctl enable nginx` #enable nginx at startup
|
||||
. edit `/etc/nginx/conf.d/default` to:
|
||||
. edit `/etc/nginx/sites-available/default` to:
|
||||
|
||||
```
|
||||
server {
|
||||
@ -31,5 +33,7 @@ server {
|
||||
```
|
||||
|
||||
. `htpasswd -c /etc/nginx/.htpasswd exampleuser` #create username for authentication for the admin - we don't want other people in our network change our black and whitelist ;)
|
||||
. `chown -R www-data:www-data /var/www/html` #change ownership of html directory to nginx user
|
||||
. `chmod -R 755 /var/www/html` #make sure html directory is writable
|
||||
. `service php5-fpm start` #start php5-fpm daemon
|
||||
. `service nginx start` #start nginx webserver
|
Loading…
Reference in New Issue
Block a user