How can I force Nexus to generate HTTPS URLs when integrated with Apache Httpd and Mod_Proxy?
A. First, you should understand the configurations supplied in the basic mod_proxy answer in this FAQ, for obvious reasons. However, since mod_proxy doesn’t forward the URL scheme as a separate header by default, Nexus may generate non-HTTPS URLs for the links it renders even when the user is accessing it via an SSL connection to the Apache Httpd instance. To avoid this, you need to modify the Apache Httpd configuration to inject a new request header containing the scheme used for each connection. Then, simply configure Jetty to detect the new HTTP request header introduced in the Apache server, and adjust the ServletRequest.getScheme() result accordingly. Instructions for this customization can be found at https://docs.sonatype.