19 lines
640 B
Plaintext
Executable File
19 lines
640 B
Plaintext
Executable File
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
ssl_certificate /etc/letsencrypt/live/registry.jean-cloud.net/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/registry.jean-cloud.net/privkey.pem;
|
|
server_name registry.jean-cloud.net www.registry.jean-cloud.net;
|
|
|
|
# disable any limits to avoid HTTP 413 for large image uploads
|
|
client_max_body_size 0;
|
|
|
|
location / {
|
|
proxy_pass http://172.29.12.100:5000/;
|
|
proxy_set_header Host $http_host;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_read_timeout 900;
|
|
}
|
|
}
|