"charset" ignored / not set for proxied content-type text/css resources

Daniel Hahler genml at thequod.de
Tue Feb 9 00:08:57 MSK 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have the following config, where I've recently added "charset utf-8"
so that the correct charset is used.

This works for application/x-javascript files (where "; charset=utf-8"
gets added), but apparently gets ignored for "text/css" (which is not
modified).

    location /media/cache {
        expires max;
        charset utf-8;
        proxy_pass http://10.122.x.x;
    }

I've verified that this config part gets used by commenting the
"expires" line.

This looks like a bug to me.

I've noticed it with 0.7.62, but it's the same with 0.8.33.


Thanks,
Daniel

- --
http://daniel.hahler.de/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLcH1pfAK/hT/mPgARAh2cAJ4grudNRnNGH+BRAVOpFcfqbMvJDQCg+MWE
wzuGRBXv7nCXgN1DmFc+59s=
=yVCq
-----END PGP SIGNATURE-----



More information about the nginx mailing list