[ci skip] add TLS to private registry, switch to registry.viktorbarzin.me

This commit is contained in:
Viktor Barzin 2026-02-28 19:40:38 +00:00
parent f7acc31d83
commit 96c0353c13
5 changed files with 30 additions and 6 deletions

View file

@ -114,6 +114,7 @@ services:
- "5050:5050"
volumes:
- /opt/registry/nginx.conf:/etc/nginx/nginx.conf:ro
- /opt/registry/tls:/etc/nginx/tls:ro
- nginx-cache:/var/cache/nginx
networks:
- registry

View file

@ -223,11 +223,15 @@ http {
}
}
# --- Private R/W Registry (port 5050) ---
# --- Private R/W Registry (port 5050, TLS) ---
server {
listen 5050;
server_name _;
listen 5050 ssl;
server_name registry.viktorbarzin.me;
ssl_certificate /etc/nginx/tls/fullchain.pem;
ssl_certificate_key /etc/nginx/tls/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
client_max_body_size 0;
proxy_request_buffering off;