nginx - What is the best place to enable gzip compression on an application running with proxy -


my application running on wildfly application server nginx proxy server on front. have enabled gzip on wildfly , working fine when access wildfly directly. when accessed via proxy there content-encoding: gzip header in response. added gzip configuration in nginx , worked. best method enable gzip when application fronted proxy server?


Comments