mirror of
https://github.com/jkaninda/nginx-php-fpm.git
synced 2025-12-10 07:29:43 +01:00
Refactoring
This commit is contained in:
@@ -6,7 +6,7 @@ server {
|
||||
# Add index.php to setup Nginx, PHP & PHP-FPM config
|
||||
index index.php index.html index.htm index.nginx-debian.html; error_log /var/log/nginx/error.log;
|
||||
access_log /var/log/nginx/access.log;
|
||||
root /var/www/html/public;
|
||||
root /var/www/html;
|
||||
# pass PHP scripts on Nginx to FastCGI (PHP-FPM) server
|
||||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
|
||||
Reference in New Issue
Block a user