paskal commented on issue #1462:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1462#issuecomment-692178187


   Same for me, Nginx with `proxy_pass` proxies requests to backend:
   ```
   $ fgrep stats_json /var/log/apache2/ -r | tail -1
   /var/log/apache2/error.log:2020/09/14 19:41:00 [error] 28066#28066: *9111 
open() "/etc/nginx/html/ngx_pagespeed_global_statistics/stats_json" failed (2: 
No such file or directory), client: 127.0.0.1, server: example.com, request: 
"GET /ngx_pagespeed_global_statistics/stats_json HTTP/1.1", host: "example.com"
   ```
   
   To fix I had to:
   ```
   $ mkdir -p /etc/nginx/html/ngx_pagespeed{,_global}_statistics
   $ touch /etc/nginx/html/ngx_pagespeed{,_global}_statistics/stats_json
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to