Need Application to Listen on Https

Can any body advise how to enable ssl in streamlit. I have an app running on You can now view your Streamlit app in your browser.

Network URL: http://abc:8501
External URL: http://abc:8501

abc=server ipaddress

I need the url to be acessed as
https://abc:8501
running Apache server .This is my .conf

VirtualHost for handling HTTPS traffic on port 443

<VirtualHost *:443>
ServerName scalenowai.com.au
ServerAlias www.scalenowai.com.au
DocumentRoot /home/scalenow/scalenow-AI/public

SSLEngine on
SSLCertificateFile /etc/ssl/certs/scalenowai.com.au.pem
SSLCertificateKeyFile /etc/ssl/private/scalenowai.com.au.key
SSLCertificateChainFile "/etc/ssl/certs/RapidSSL TLS RSA CA G1.pem"

# Set the X-Forwarded-Proto header to indicate HTTPS
RequestHeader set X-Forwarded-Proto "https"

ProxyRequests Off
ProxyPreserveHost On

# Proxy for the main application
ProxyPass / http://localhost:3000/
ProxyPassReverse / http://localhost:3000/

# Proxy for the Streamlit application
ProxyPass /streamlit/ http://abc:8501/
ProxyPassReverse /streamlit/ http://abc:8501/

# Ensure WebSocket support for Streamlit
RewriteEngine On
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule ^/streamlit/(.*) ws://abc:8501/$1 [P,L]
LogLevel debug
ErrorLog ${APACHE_LOG_DIR}/scalenowai_ssl_error.log
CustomLog ${APACHE_LOG_DIR}/scalenowai_ssl_access.log combined

VirtualHost for HTTP to HTTPS redirection

<VirtualHost *:80>
ServerName scalenowai.com.au
ServerAlias www.scalenowai.com.au
Redirect permanent / https://www.scalenowai.com.au/