I was asking to Evan Miller if his nginx mod_strip module can honour <textarea> tag. i got quick responses from him.
previous mod_strip module eliminates newline characters within <textarea> list contents. here’s examples with latest mod_strip. I’ve tested it using postfixadmin.
configuration:
server { listen xxx.xxx.xxx.xxx:80; server_name www.example.com; strip on; access_log /var/log/nginx/www.example.com-access.log main; location / { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://127.0.0.1:80; } }
list inside <textarea>

HTML source

mod_strip modules can be download from here:
https://github.com/evanmiller/mod_strip
enjoy 🙂