# APT proxy for multiple repos of the same distribution

**URL:** <https://community.sonatype.com/t/apt-proxy-for-multiple-repos-of-the-same-distribution/6624>\
**Category:** Sonatype Nexus Repository\
**Created:** [May 27, 2021, 4:35pm UTC](https://community.sonatype.com/t/apt-proxy-for-multiple-repos-of-the-same-distribution/6624 "2021-05-27T16:35:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hilikus](https://avatars.discourse-cdn.com/v4/letter/h/e99b99/32.png) [@Hilikus](https://community.sonatype.com/u/Hilikus)\
**Post date:** [May 27, 2021, 4:35pm UTC](https://community.sonatype.com/t/apt-proxy-for-multiple-repos-of-the-same-distribution/6624/1 "2021-05-27T16:35:36Z")

</div>

Do i need to create separate repo proxies for `xenial`, `xenial-security` and `xenial-updates` ?

I want to introduce a nexus proxy for a client config like

```auto
deb http://ca.ports.ubuntu.com/ubuntu-ports/ xenial main universe
deb http://ca.ports.ubuntu.com/ubuntu-ports/ xenial-security main universe
deb http://ca.ports.ubuntu.com/ubuntu-ports/ xenial-updates main universe

```

but i’m not sure if these are all considered 1 single distribution (xenial) or 3 by nexus for the sake of proxying

---

<div class="post-metadata">

**Author:** ![marcin.a.kawa](https://avatars.discourse-cdn.com/v4/letter/m/ec9cab/32.png) [@marcin.a.kawa](https://community.sonatype.com/u/marcin.a.kawa)\
**Post date:** [March 29, 2022, 4:36pm UTC](https://community.sonatype.com/t/apt-proxy-for-multiple-repos-of-the-same-distribution/6624/2 "2022-03-29T16:36:31Z")

</div>

If you’re using the proxy then one Nexus repository is enough.

You need to specify the default distribution, for example, `xenial` in your case, then use it as you would normally with the `deb` sources.
