Running on different port than 443: Disable redirect to nonport URL

Can you help me with the nginx reverse proxy configuration?

I’ve tried various options without success

server {
    listen 20633 ssl;
    server_name mydomain.com;
	
	ssl_certificate /etc/letsencrypt/live/mensa.myftp.org/fullchain.pem;
	ssl_certificate_key /etc/letsencrypt/live/mensa.myftp.org/privkey.pem;

    location / {
        # Remove the port from the proxy_pass URL using a regular expression
        # The captured part of the regular expression ($1) will be replaced in the proxy_pass URL
        # The actual backend server IP and port are specified separately in the proxy_pass directive
        proxy_pass http://192.168.178.31:80/
		#$request_uri;
		proxy_redirect http://192.168.178.31:80/ $scheme://$host:20633/;
		#return 301 $scheme://$host:$server_port/home;
		#proxy_redirect http://192.168.178.31:20633 $scheme://$host:80;
        
        # Preserve the Host header sent by the client to the backend server
        #proxy_set_header Host $host;
		proxy_set_header Host $http_host;

    }
}