Answer the question
In order to leave comments, you need to log in
NginxProxy -> Nginx + ngx_pagespeed, how to configure correctly?
Good day dear!
We have:
1. Nginx, at the front, in the role of ReveseProxy, HTTP / HTTPS, it will also act as a load balancer
2. Several Nginx + PHP-FPM servers "behind", some have ngx_pagespeed installed (servers may be responsible for different sites / services /projects)
Faced a problem:
1. "Main" (front) Nginx "spoils" headers. When referring to the source north, we get:
Expires: Sat, 04 Feb 2017 08:59:15 GMT
Cache-Control: max-age=2587554, public
ETag: W/"PSA-aj-29OAZzvhfX"
cache-control:max-age=44190
etag: W/"PSA-aj-29OAZzvhfX"
expires: Thu, 05 Jan 2017 20:01:14 GMT
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question