# Configuration server for mirroring apt repositories.

First, need to install apt-mirror and nginx:<br/>
<br/>

`apt install apt-mirror nginx`<br/>
<br/>
Second, create directory structure for repos:<br/>
<br/>

`/DATA`<br/>
`├── iso`<br/>
`└── repos`<br/>
`    ├── mirror`<br/>
`    ├── skel`<br/>
`    └── var`<br/>
<br/>

Third, start apt-mirror for sync repos: ( You can use crond for auto update )<br/>
<br/>

`apt-mirror`<br/>
<br/>

Last, edit conf of nginx. Look at examples.
<br/>