document debug logging
This commit is contained in:
@@ -54,7 +54,7 @@ ngx_pagespeed checkout:
|
|||||||
Now build nginx:
|
Now build nginx:
|
||||||
|
|
||||||
$ cd /path/to/nginx
|
$ cd /path/to/nginx
|
||||||
$ auto/configure --add-module=/path/to/ngx_pagespeed
|
$ auto/configure --with-debug --add-module=/path/to/ngx_pagespeed
|
||||||
$ make install
|
$ make install
|
||||||
|
|
||||||
While ngx_pagespeed doesn't need to be anywhere specific in relation to nginx,
|
While ngx_pagespeed doesn't need to be anywhere specific in relation to nginx,
|
||||||
@@ -67,6 +67,7 @@ In your nginx.conf, add to the main or server block:
|
|||||||
|
|
||||||
pagespeed on;
|
pagespeed on;
|
||||||
pagespeed_cache /path/to/cache/dir;
|
pagespeed_cache /path/to/cache/dir;
|
||||||
|
error_log logs/error.log debug;
|
||||||
|
|
||||||
To confirm that the module is loaded, fetch a page and check that you see the
|
To confirm that the module is loaded, fetch a page and check that you see the
|
||||||
following comment in the source:
|
following comment in the source:
|
||||||
|
|||||||
Reference in New Issue
Block a user