feat : ajoute access log et error log
This commit is contained in:
@@ -6,6 +6,9 @@ server {
|
||||
include /home/www/nomdusite/www/nginx.conf.sample;
|
||||
fastcgi_read_timeout 3000;
|
||||
|
||||
access_log /home/www/nomdusite/log/access.log;
|
||||
error_log /home/www/nomdusite/log/error.log;
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass php7_backend;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
|
||||
@@ -6,6 +6,9 @@ server {
|
||||
include /home/www/$omdusite/www/nginx.conf.sample;
|
||||
fastcgi_read_timeout 3000;
|
||||
|
||||
access_log /home/www/nomdusite/log/access.log;
|
||||
error_log /home/www/nomdusite/log/error.log;
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass /Applications/MAMP/Library/logs/fastcgi/nginxFastCGI.sock;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
|
||||
Reference in New Issue
Block a user