ws420 edited a comment on issue #1681: Uncacheable content, preventing 
rewriting of image
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1681#issuecomment-594418920
 
 
   Strange, I didn't change anything since my last post, I went back to the 
website and now I don't see webp anymore. It was definitely working last time I 
checked
   
   I contacted Plesk support to get help disabling Nginx. Here is what I was 
told:
   
   > By default port 80 is listened by nginx, so after applying this solution, 
the website will still be shown as processed by nginx in a web-browser. This is 
due to the fact that nginx is working as the front-end proxy for the whole 
server and it cannot be disabled for the specified domain. The website will be 
processed by Apache in fact. Here is an article describing it in details: 
https://support.plesk.com/hc/en-us/articles/360006364914-How-to-make-a-website-be-processed-only-by-Apache-when-nginx-is-enabled-on-the-server
   
   
   Thanks for the details about the cache headers. I use ExpiresByType in the 
htaccess to set the cache header for each file type, is this the correct way to 
do it?
   
   
   > About nginx proxy... Have you stopped the service? I see it in the Plesk 
doc
   
   Done, should be completely stopped now
   
![image](https://user-images.githubusercontent.com/48076840/75863900-33fc2f00-5dcf-11ea-892b-6c69449fb4ce.png)
   
   
   > Maybe you have set the FechtHttps directives in the wrong place or your 
server has the certificate directory in other place.
   
   FetchHttps is at the same place as the other pagespeed directives
   
![image](https://user-images.githubusercontent.com/48076840/75870886-ac67ed80-5dd9-11ea-96bf-9ccce50c3757.png)
   
![image](https://user-images.githubusercontent.com/48076840/75864280-c69cce00-5dcf-11ea-8c15-542101f8e01a.png)
   Our system is CentOS so according to the guide I think the config is correct
   
   > 6.- I see you have a rewrite rule to change www.weedstreet420.com to 
weedstreet420.com , maybe you need to add an auth directive to cover all 
variants, some like:
   
   Done, I added it to the directives, but I still get the 4xx error
   ModPagespeedDomain http*://*.weedstreet420.com
   
   > What linux distro are you using? If a debian/ubuntu, can you test that 
/etc/ssl/certs exists han have files in it? or if a redhat/centos this 
directory /etc/pki/tls/certs exist and have a cert.pem file in it?
   
   CentOS 7.6.1810
   There's no cert.pem file but I think cert.pem supposed to be a symlink to 
ca-bundle.crt ?
   
   Just to make sure I understand: I am not supposed to copy the SSL 
certificate of my domain in this folder, right?
   "PageSpeed must be configured to point to a directory identifying trusted 
Certificate Authorities (not SSL keys for your domain)"
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

Reply via email to