I did this:
1. copy '/home/apache/tpl/domains.conf.tpl' to '/home/apache/tpl/custom.domains.conf.tpl' and '/home/apache/tpl/defaults.conf.tpl' to '/home/apache/tpl/custom.defaults.conf.tpl'
2. edit custom.* files in portion:
Code: [Select all] [Show/ hide]
if ($reverseproxy) {
$ports[] = '30080';
$ports[] = '30443';
} else {
$ports[] = '80';
$ports[] = '443';
}
for '80' and '443' to another port where varnish call apache.
3. run 'sh /script/fixweb' and 'service httpd restart'
but it shows this:
(98)Address already in use: make_sock: could not bind to address [::]:8080
[FAILED]
There is nothing on port 8080:
[root@ks391381 /]# lsof -i :8080
[root@ks391381 /]#