# Proxy Repository for Docker Unable to pull images

**URL:** <https://community.sonatype.com/t/proxy-repository-for-docker-unable-to-pull-images/13005>\
**Category:** Sonatype Nexus Repository\
**Tags:** integrations, docker, nexus-repository, proxy\
**Created:** [August 6, 2024, 12:28pm UTC](https://community.sonatype.com/t/proxy-repository-for-docker-unable-to-pull-images/13005 "2024-08-06T12:28:40Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![gautier.franchini](https://avatars.discourse-cdn.com/v4/letter/g/a8b319/32.png) [@gautier.franchini](https://community.sonatype.com/u/gautier.franchini)\
**Post date:** [August 12, 2024, 1:23pm UTC](https://community.sonatype.com/t/proxy-repository-for-docker-unable-to-pull-images/13005/6 "2024-08-12T13:23:59Z")

</div>

Hello Thanks for your answer, if I’m not mistaken you invite me to setup and nginx reverse proxy server in front of my Nexus3 repository manager instance ?

- edit file: `etc/nginx/conf.d/nexuslab.conf

```ini
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
ssl_certificate /opt/nexus/etc/ssl/nexuslab/nexuslab.crt;
ssl_certificate_key /opt/nexus/etc/ssl/nexuslab/nexuslab.key;
server {
    listen 443 ssl;
    server_name nexuslab.my.domain;
    location / {
        proxy_pass http://localhost:8081;

        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

```

and then add a block that target a specific port for Docker ? Am I right ?

---

_[View the full topic](https://community.sonatype.com/t/proxy-repository-for-docker-unable-to-pull-images/13005)._
