Lofesa commented on issue #1960: "pagespeed" directive "MapProxyDomain" not 
recognized or too many arguments 
URL: 
https://github.com/apache/incubator-pagespeed-mod/issues/1960#issuecomment-539380563
 
 
   Hi @utags 
   Perhaps not related but some of your directives are wrong.
   ```
   pagespeed SslCertDirectory
   pagespeed SslCertFile
   ```
   These directives must be set NOT to your server certificates but to client 
ones, I will say these directives must be set to 
   `The default directory for Debian-based systems is /etc/ssl/certs, and there 
is no certificate file setting. On CentOS-based systems, the default directory 
is /etc/pki/tls/certs and default file is /etc/pki/tls/cert.pem.`
   as stated 
[here](https://www.modpagespeed.com/doc/https_support#configuring_ssl_certificates)
   
   You have configured `pagespeed LoadFromFileMatch` but I think `pagespeed 
LoadFromFile` is better.
     ```
   pagespeed ProcessScriptVariables on;
     pagespeed LoadFromFile "http://$host/"; "$document_root";
   ```
   And for the proxy domain try to put a endig slash and enclose it on 
quotation marks:
   `pagespeed MapProxyDomain "https://localhost/pageSpeed/printerest/"; 
"https://assets.pinterest.com/";`

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