Move log files up top
This commit is contained in:
parent
8e939eb491
commit
a4933447ec
@ -1,5 +1,6 @@
|
|||||||
worker_processes 2; ## Default: 1
|
worker_processes 2; ## Default: 1
|
||||||
error_log /var/log/nginx/error.log;
|
# access_log /var/logs/nginx/mydomain.access.log;
|
||||||
|
# error_log /var/logs/nginx/mydomain.error.log;
|
||||||
pid /var/run/nginx.pid;
|
pid /var/run/nginx.pid;
|
||||||
include /usr/share/nginx/modules/*.conf; # See /usr/share/doc/nginx/README.dynamic.
|
include /usr/share/nginx/modules/*.conf; # See /usr/share/doc/nginx/README.dynamic.
|
||||||
|
|
||||||
@ -64,9 +65,6 @@ http {
|
|||||||
|
|
||||||
lua_code_cache off;
|
lua_code_cache off;
|
||||||
|
|
||||||
access_log /var/logs/nginx/mydomain.access.log;
|
|
||||||
error_log /var/logs/nginx/mydomain.error.log;
|
|
||||||
|
|
||||||
# Static content to serve
|
# Static content to serve
|
||||||
root /var/www/html;
|
root /var/www/html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user