[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 e8bcf21127
commit 3e3699bbc6
No known key found for this signature in database
GPG key ID: 0EB088298288D958
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;