Just wondering if there is a way to overwrite / discard the Cache-Control: closed response from a proxied remote server. The installation architecture looks like this (yes, this is a reverse proxy setting):
[my server] → [remote server]
Settings for my server site / default:
server {
listen 80;
listen [::]:80 default ipv6only=on;
server_name localhost;
location / {
if ($arg_AWSACCESSKEY) {
proxy_pass http://localhost:8088;
}
try_files $uri $uri/ /index.php /index.html /index.htm;
}
}
Settings for my server: available / remote:
server {
listen 8088;
location / {
proxy_pass http://remoteserver;
proxy_set_header Host remoteserverhostname.com;
proxy_ignore_headers Cache-Control Expires;
proxy_pass_header Set-Cookie;
}
}
But Firebug still reports that the header contains Cache-Control: private. Did I miss something?
Thank.
source
share