Good afternoon friends, has anyone managed to change this nginx.conf.web file and save it?
I've tried several ways to change the webmail port and I can't, it's always zero
when I try to start zimbra, the proxy gives this message:
Starting proxy ... nginx: [emerg] invalid port in upstream "mail.transultransporte.com.br.com.br" in /opt/zimbra/conf/nginx/includes/nginx.conf.web:49
failed.
when I look at the file in question, tell me this line:
upstream zimbra_ssl_webclient
{
server mail.transultransporte.com.br Fail_timeout = 60s;
server mail.transultransporte.com.br Fail_timeout = 60s;
zmauth;
that is, the port is set to zero. already tried several commands to change and nothing
I modify the file with the right port number, but when I restart the service it goes back to the previous configuration
I tried this command in the hope of changing the door and nothing:
./zmproxyconfig -e -w -o -a 8080: 80: 8443: 443 -x https -H `zmhostname`
Can someone help me ?
arquivo nginx.conf.web
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: arquivo nginx.conf.web
Hello,
each Nginx configuration file is rewritten by Zimbra when it restarts.
If you want to add permanent modification, you must do it into Nginx template files. But you must be aware of that it will replace at Zimbra upgrade.
Regards,
each Nginx configuration file is rewritten by Zimbra when it restarts.
If you want to add permanent modification, you must do it into Nginx template files. But you must be aware of that it will replace at Zimbra upgrade.
Regards,
Re: arquivo nginx.conf.web
Thanks for the answer.
when viewing the nginx template files, I noticed some variables, for example:
upstream $ {web.ssl.upstream.webclient.name}
{
$ {web.ssl.upstream.webclient.:servers}
zmauth;
}
Could you tell me where the values are stored?
already tried and could not identify, when I restart zimbra it read the configuration files that are in ldap?
I noticed that the zmproxyconf command causes the file to be rewritten.
thank you
when viewing the nginx template files, I noticed some variables, for example:
upstream $ {web.ssl.upstream.webclient.name}
{
$ {web.ssl.upstream.webclient.:servers}
zmauth;
}
Could you tell me where the values are stored?
already tried and could not identify, when I restart zimbra it read the configuration files that are in ldap?
I noticed that the zmproxyconf command causes the file to be rewritten.
thank you
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: arquivo nginx.conf.web
Variables are taken from Zimbra LDAP.
Regards
Regards