Commit 15b4af18 authored by BAIRE Anthony's avatar BAIRE Anthony

disable direct push/pull in the UI

parent cfa7268c
Pipeline #39960 failed with stage
in 1 minute and 20 seconds
......@@ -17,7 +17,9 @@
<div class="tab-content">
<ul class="nav nav-tabs">
<li class="nav-item"><a class="nav-link active" data-toggle="tab" href="#ssh"><i class="fas fa-terminal"></i> SSH</a></li>
{% comment Disabled until #227 is implemented %}
<li class="nav-item"><a class="nav-link" data-toggle="tab" href="#docker"><i class="fab fa-docker"></i> Docker</a></li>
{% endcomment %}
</ul>
<div class="tab-pane active" id="ssh">
......
......@@ -15,20 +15,22 @@ server
client_body_in_file_only clean;
client_body_buffer_size 32K;
# registry endpoints
# - forwarded to the registry
# - except manifest push/pull -> forwarded through the django server (to
# guarantee that the db is transactionally updated)
location /v2/
{
proxy_pass {ALLGO_REGISTRY_PRIVATE_URL}/v2/;
proxy_redirect off;
proxy_buffering off;
location ~ ^/v2/.*/manifests/[^/]*$ {
proxy_pass http://aio;
}
}
# Disabled until #227 is implemented
#
# # registry endpoints
# # - forwarded to the registry
# # - except manifest push/pull -> forwarded through the django server (to
# # guarantee that the db is transactionally updated)
# location /v2/
# {
# proxy_pass {ALLGO_REGISTRY_PRIVATE_URL}/v2/;
# proxy_redirect off;
# proxy_buffering off;
#
# location ~ ^/v2/.*/manifests/[^/]*$ {
# proxy_pass http://aio;
# }
# }
# allgo async endpoints
location /aio/
......@@ -90,4 +92,4 @@ server
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment