You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can we add a funktion to catch 301 redirects to https and save the blobs?
so a http reqest form client will be saved to disk / cache form nginx.
and than the client get the file form nginx.
to cache / save files on github, as github hase a forced 301 to https
without the need of a MitM CA cert on any clients,
as the get the files still only in plan http.
mybe something in this way:
location /images/ {
root /data/www;
error_page 404 = @fetch;
}
can we add a funktion to catch 301 redirects to https and save the blobs?
so a http reqest form client will be saved to disk / cache form nginx.
and than the client get the file form nginx.
to cache / save files on github, as github hase a forced 301 to https
without the need of a MitM CA cert on any clients,
as the get the files still only in plan http.
mybe something in this way:
location /images/ {
root /data/www;
error_page 404 = @fetch;
}
location @fetch {
internal;
}
https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_store
mybe some other way? https://github.com/rpardini/docker-registry-proxy/blob/2c8be197be3e74714b53df6b62d2f39029086dc4/nginx.conf#L227
The text was updated successfully, but these errors were encountered: