Skip to content

Registry proxy behind nginx and ssl #161

Open
@rLoka

Description

@rLoka

Hi, I am trying to get this proxy working behind another nginx on 443.

This is my nginx configuration, could you help me to get this working? Unfortunately, I am limited to only 443 being open on a machine, and there are multiple services being proxified through 443 as well.

  # Proxy /v2 paths to docker registry proxy.
  location /v2 {
    set $registry_proxy registry_proxy;
    resolver 127.0.0.11;
    proxy_pass http://$registry_proxy:3128/$request_uri;
    proxy_read_timeout 7200; # 2 hours because that's the maximum web app expects.
    proxy_send_timeout 7200;
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions