configure apache reverse proxy with non-standard port for SSL connection (e.g. 8443 instead of 443)

configure apache reverse proxy with non-standard port for SSL connection (e.g. 8443 instead of 443)

AuthorFullName__c
Mari Yamaguchi
articleNumber
000005086
ft:sourceType
Salesforce
FirstPublishedDate
2021-06-29T19:47:17Z
lastModifiedDate
2023-01-22T11:05:50Z
VersionNumber
4

In the ssl.conf file (the config snippet produced by artifactory), change:
    RewriteCond "%{HTTP_HOST}" "^(.*)\.<jfrog_url>$"
to:
    RewriteCond "%{HTTP_HOST}" "^(.*)\.<jfrog_url>(:\d+)?$"

Then, restart the apache server for the changes to take place.