Hi folks,
I'm using nginx as a reverse proxy inside Zimbra Communication Suite for webmail system in Japan.
We hosted many domains and want a URL scheme in a http response
body to be replaced by other scheme according to the name of domain,
that is, in the case of response from some domains we should replace
"http" by "https" and one from other domains we set "http" as it is.
How can we implement that by the settings of nginx?
Is it "sub_filter" directive?
Any comment would be appreciated.
Thanks,
Soichiro