I have a Rundeck 4.17.6-20240402 instance and I have managed to get Apache working and redirecting from port 80 to 4440.
The problem comes when I want Apache to handle SSL traffic and redirect to Rundeck on the unencrypted port 4440, this is my configuration:
<IfModule ssl_module>
<VirtualHost _default_:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
SSLEngine on
SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt
SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key
# reverse proxy config
ProxyRequests Off
ProxyPreserveHost On
# Local reverse proxy authorization override
Order deny,allow
Allow from all
</Proxy>
ErrorLog ${APACHE_LOG_DIR}/error_Rundeck.log
TransferLog ${APACHE_LOG_DIR}/access_Rundeck.log
</VirtualHost>
</IfModule>
The relevant part of the framework.properties file is:
framework.server.port = 4440
The relevant part of the file rundeck-config.properties:
server.port=4440
In Apache I see the access and redirection with the log:
10.2.103.1 - - [05/Feb/2025:19:31:12 +0100] "GET / HTTP/1.1" 302 -