Installation guide
39 
Managing EZ Templates 
Once you edit the /etc/httpd/conf.d/vzproxy.conf file, you need to tell the vzpkg tool to 
use the packages from the local repository on the proxy server while handling EZ templates. To do 
this, edit the /etc/vztt/vztt.conf file on the Node and specify the following parameters: 
•  The URL of the proxy server, the port number where the httpd daemon is listening, and the 
path to the directory where the EZ templates local repository is located as the value of the 
VZTT_PROXY parameter. For example, if your proxy server has the 127.123.123.127 IP 
address assigned, the httpd daemon running on the proxy server is listening on port 8080, 
and the local repository is stored in /var/www/html/download, you should set the 
VZTT_PROXY parameter to http://127.123.123.127:8080/download. 
•  The URL of the proxy server and the port number where the httpd daemon is listening as the 
value of the HTTP_PROXY parameter. For example, you should set this value for the 
aforementioned proxy server to http://127.123.123.127:8080. Keep in mind that you 
also need to set the HTTP_PROXY_PASSWORD and HTTP_PROXY_USER parameters in the 
/etc/vztt/vztt.conf file if the access to your proxy server is password-protected. 
Configuring Proxy Server Parameters 
You can configure a number of proxy server parameters to meet your demands: 
•  Configure the CACHE_DISABLE parameter in the /etc/vzpkgpoxy/vzpkgproxy.conf file 
on the proxy server to specify the hosts to be excluded from the caching process. By default, 
the proxy server caches the packages from all external hosts that are allowed to connect to the 
proxy server.  
•  Configure the port number on which the httpd daemon running on the proxy server is 
listening. To do this, specify the desired port number in the 
/etc/httpd/conf.d/vzproxy.conf file on the proxy server. The default port number is 
8080. 
•  Configure the REPO_DIR parameter in the vzpkgproxy.conf file to change the path to the 
directory where the local repository created on the basis of the cached packages will be stored. 
By default, this directory is /var/www/html/download. 










