Update Nginx config with new method for FastCGI (#170)

* Update Nginx config with new method for FastCGI

* Align spaceing

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>

Co-authored-by: Dan Schaper <dan@glacialmagma.com>
This commit is contained in:
Pol
2020-02-10 06:28:15 +01:00
committed by GitHub
parent c016418fc9
commit c0c89f3347
+2 -1
View File
@@ -54,7 +54,8 @@
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
fastcgi_param FQDN true;
auth_basic "Restricted"; # For Basic Auth