Skip to content

Webserver integration

Messinger edited this page Dec 6, 2016 · 1 revision

Nginx

Configuration is quite simple: map /v2 to registry and all other to this service.

location /v2 {
    proxy_pass http://127.0.0.1:5000/v2;
}

location / {
    if ($uri !~ ^/(robots\.txt|favicon\.ico) ) {
       proxy_pass http://127.0.0.1:3000;
    }
}

Apache

not yet done - but should follow same rules.

Clone this wiki locally