Docker image with HTTPS/TLS

Currently, NocoBase Docker image contains built-in nginx which is configured to listen 80 port. What is the official/recommended way to change this? I’d like nginx to listen 443 and provide certificate and private key.

https://docs.nocobase.com/welcome/getting-started/deployment/docker-compose

server {
    listen 80;
    server_name your_domain.com;  # Replace your_domain.com with your domain

    location / {
        proxy_pass http://127.0.0.1:13000/;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_set_header Host $host;
    }
}