apache2 mod proxy
Povolenie modulu:
a2enmod proxy_http
a2enmod proxy
<VirtualHost *:80>
ServerName mirror.intrak.tuke.sk
ServerAlias www.mirror.intrak.tuke.sk mirror.intrak
ProxyPass /debian-security http://security.debian.org/debian-security/
ProxyPassReverse /debian-security http://security.debian.org/debian-security/
ProxyPass / http://ftp.debian.sk/
ProxyPassReverse / http://ftp.debian.sk/
CustomLog /var/log/apache2/access_mirror.intrak.tuke.sk.log combined
ErrorLog /var/log/apache2/error_mirror.intrak.tuke.sk.log
LogLevel warn
</VirtualHost>