Lofesa commented on issue #2052:
URL: 
https://github.com/apache/incubator-pagespeed-mod/issues/2052#issuecomment-732836295


   So you have some like this in your nginx proxy **cache** + pagespeed:
   
   ```
   server {
          port 443;
         name mainproject.domain.com;
         pagespeed on; (and all pagespeed config needed)
         all nginx proxy stuff; 
   }
   server {
          port 443;
         name images.domain.com;
         pagespeed on; (and all pagespeed config needed)
         all nginx proxy stuff; (included proxy_pass http://images.domain.com;)
   }
   server {
          port 443;
         name assets.domain.com;
         pagespeed on; (and all pagespeed config needed)
         all nginx proxy stuff; (included proxy_pass http://assets.domain.com;)
   }
   
   ```
   and then pagespeed do it stuff with proxied content?
   or maybe:
   ```
   server {
          port 443;
         name mainproject.domain.com;
         pagespeed on; (and all pagespeed config needed)
         all nginx proxy stuff; 
         location /images/ {
               proxy_pass http://images.domain.com;
         }
         location /assets/ {
             proxy_pass http://assets.domain.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


Reply via email to