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 2022/08/19 07:00:42 UTC

[GitHub] [incubator-pagespeed-ngx] bigretromike commented on issue #1755: Issue with HTTPS only page and noscript support and beacon are injected as http.

bigretromike commented on issue #1755:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1220322382

   > ```
   > pagespeed Domain https://redacted;
   > # pagespeed MapOriginDomain "https://redacted" "http://redacted";  # this one doesn't affect beacon so this one is turn off
   > pagespeed MapRewriteDomain "https://redacted" "http://redacted"
   > pagespeed LoadFromFile "https://redacted/wp-content/" "/var/www/wp-content/";
   > pagespeed LoadFromFile "http://redacted/wp-content/" "/var/www/wp-content/";
   > ```
   > 
   > Are these lines all the pagespeed config? Try to add some like:
   > 
   > pagespeed FetchHttps enable; pagespeed SslCertDirectory directory; (directory in Debian based normally is /etc/ssl/certs, Centos /etc/pki/tls/certs pagespeed SslCertFile file; (Only for Red-Hat/Centos distro /etc/pki/tls/cert.pem.)
   
   Yes, they are.
   
   I have this in nginx.conf
   ```
           pagespeed FetchHttps enable;
           pagespeed SslCertDirectory /etc/ssl/certs;
           pagespeed FetcherTimeoutMs 10000;
           pagespeed NativeFetcherMaxKeepaliveRequests 50;
           pagespeed UseNativeFetcher off;         # use better fetcher
           resolver 127.0.0.1;                     # dns for fetrcher
   
   ```


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

To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org

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