Parse not valid html via xslt with nginx and proxy

master74

New Member
I pass html from intranet to Internet via nginx. I want to make some transforms with html files.I use such fragment at my nginx.conf\[code\] location /news/ { proxy_pass http://news.intranet/$request_uri; proxy_set_header Host news.intranet; xslt_types text/html; xslt_stylesheet /var/www/www/style-news.xsl; }\[/code\]But if html is not valid, I got messages like "Opening and ending tag mismatch" at my error.log. May be other.How can I control and avoid it?
 
Back
Top