feat : ajoute access log et error log

This commit is contained in:
Jordan Morin
2017-11-21 08:44:28 +01:00
parent 5879a6a8bb
commit 35450b6009
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -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;
+3
View File
@@ -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;