Update doc
Because nginx doesn't start without fix access_log path.
This commit is contained in:
parent
f8578ec325
commit
4f7f285f45
|
@ -34,6 +34,16 @@ where logs should be stored:
|
||||||
// /etc/nginx/nginx.conf
|
// /etc/nginx/nginx.conf
|
||||||
error_log /var/log/nginx/error.log warn;
|
error_log /var/log/nginx/error.log warn;
|
||||||
|
|
||||||
|
And:
|
||||||
|
|
||||||
|
// /etc/nginx/h5bp/expires.conf
|
||||||
|
access_log logs/static.log;
|
||||||
|
|
||||||
|
To:
|
||||||
|
|
||||||
|
// /etc/nginx/h5bp/expires.conf
|
||||||
|
access_log /var/log/nginx/static.log;
|
||||||
|
|
||||||
Or, setup a symlink to point at the right place:
|
Or, setup a symlink to point at the right place:
|
||||||
|
|
||||||
cd /etc/nginx
|
cd /etc/nginx
|
||||||
|
|
Loading…
Reference in New Issue