# Configuration server for mirroring apt repositories. First, need to install apt-mirror and nginx:

`apt install apt-mirror nginx`

Second, create directory structure for repos:

`/DATA`
`├── iso`
`└── repos`
` ├── mirror`
` ├── skel`
` └── var`

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

`apt-mirror`

Last, edit conf of nginx. Look at examples.