Hello support, Is the tmpl var name='apache2_port' still working in ispconfig? Because when i create a new website, it wont set the port in the nginx vhost file :/. I also can't find any php code that search for this var.
If you look at the git http://git.ispconfig.org/search?utf8=✓&search=apache2_port&group_id=&project_id=1&search_code=true&repository_ref= there is a file that uses apache2_port. The php script that I now use is https://github.com/Rackster/ispconfig3-nginx-reverse-proxy But I think I need to replace apache2_port to a static var?
Thats outdated code and therefor disabled. You cant use that by just activating it as it does not work with current ISPConfig versions.
Ok thanks for the quick reply, then I will make my own . out of curiosity, why is the code still in the repo if it isn't used and how can I force update all my vhosts ?
It is there to allow an interested developer to port it to a current version instead of writing a complete new plugin. See Tools > Resync in ISPConfig.