Welcome! Log In Create A New Profile

Advanced

Can nginx override encoding of Tomcat back end?

J2R
November 25, 2011 09:56AM
I have been trying for some time now to get Tomcat to serve everything
with UTF-8 encoding, but some pages keep coming back with ISO-8859-1
encoding. As Tomcat is sitting behind an nginx remote proxy server, I
was wondering whether I could configure nginx to override the encoding
automatically? I have added 'charset utf-8' in the server block but this
by itself obviously doesn't do the trick. Can I set some response
headers, perhaps?

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Can nginx override encoding of Tomcat back end?

J2R November 25, 2011 09:56AM

Re: Can nginx override encoding of Tomcat back end?

Igor Sysoev November 25, 2011 10:18AM

Re: Can nginx override encoding of Tomcat back end?

J2R November 25, 2011 10:28AM

Re: Can nginx override encoding of Tomcat back end?

Igor Sysoev November 25, 2011 10:36AM

Re: Can nginx override encoding of Tomcat back end?

J2R November 25, 2011 10:46AM

Re: Can nginx override encoding of Tomcat back end?

J2R November 25, 2011 11:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 86
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready