You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2020/03/03 04:11:03 UTC
[GitHub] [incubator-pagespeed-ngx] ws420 removed a comment on issue #1681:
Uncacheable content, preventing rewriting of image
ws420 removed a comment on issue #1681: Uncacheable content, preventing rewriting of image
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1681#issuecomment-593753452
Ok, so it seems the place to put the Nginx directives is through the Plesk interface. It will save the file to this location: /var/www/vhosts/system/weedstreet420.com/conf/vhost_nginx.conf
But I get this error:
`Invalid nginx configuration: nginx: [emerg] unknown directive "pagespeed" in /var/www/vhosts/system/weedstreet420.com/conf/vhost_nginx.conf:2 nginx: configuration file /etc/nginx/nginx.conf test failed`
The error looks like mod_pagespeed isn't installed but it is!
```
[root@ns527600 conf]# nginx -V
nginx version: nginx/1.16.1
built with OpenSSL 1.1.1d 10 Sep 2019
TLS SNI support enabled
configure arguments: --prefix=/usr/share --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --modules-path=/usr/share/nginx/modules --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --user=nginx --group=nginx --with-file-aio --with-compat --with-http_ssl_module --with-http_realip_module --with-http_sub_module --with-http_dav_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_v2_module --add-dynamic-module=mod_passenger/src/nginx_module --add-dynamic-module=mod_pagespeed --with-openssl=lib_openssl --with-openssl-opt='zlib no-idea no-mdc2 no-rc5 no-ssl2 no-shared -fpic'
```
I can also see some pagespeed stuff in the source code of our website
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services