Rundeck Redirecting to 8443 Instead of Configured 8080

10 views
Skip to first unread message

Deljin davis

unread,
Sep 24, 2025, 4:10:18 AMSep 24
to rundeck-discuss

Hi Team,

We are experiencing an issue with our Rundeck instance on dbfz instance. Even though the configuration specifies HTTPS on port 8080 (RDECK_HTTPS_PORT=8080 and framework.server.url set to http://<host>:8080), accessing the web interface redirects to port 8443.

Steps taken so far:

  • Verified framework.server.url in /etc/rundeck/framework.properties is correct.

  • Checked for any references to 8443 across /etc/rundeck/—none found.

  • Updated /etc/rundeck/profile to include SSL configuration on port 8080.

  • Restarted rundeckd service; however, the service fails to start when adding -Dserver.port=8080 to force HTTPS.

Current behavior:

  • Curling https://<host>:8080/ results in a 302 Found redirect to https://<host>:8443/user/login.

  • Startup logs indicate Rundeck is running, but the application redirects to 8443, causing access issues.

Request:

  • Guidance on how to properly configure Rundeck to serve HTTPS on port 8080 without redirecting to 8443.

  • Confirmation if there are hidden defaults or startup scripts that enforce port 8443.

  • Any recommended best practices for SSL configuration on a non-standard port.

Thank you for your support.
Regards, 
Deljin Davis 

Stanimir Petrovic

unread,
Sep 25, 2025, 8:34:07 AMSep 25
to rundeck-discuss
Create nginx proxy. Y

 example for nginx:

server {
    listen          80;
    server_name     172.1.200.75 rundeck.ex.com;
   

    location / {
    proxy_pass      http://rundeck.ex.com:4440;
    proxy_set_header X-Forwarded-Host $host:$server_port;
    proxy_set_header X-Forwarded-Server $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
  }

server {
    listen          443 ssl;
    server_name     172.1.200.75 rundeck.ex.com;
    #access_log      logs/rundeck.log main;
    ssl on;
    ssl_certificate /etc/nginx/ssl/rundeck.crt;
    ssl_certificate_key /etc/nginx/ssl/private.key;
    location / {
        proxy_pass      http://rundeck.ex.com:4440;
        proxy_set_header X-Forwarded-Host $host:$server_port;
        proxy_set_header X-Forwarded-Server $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }
  }


framework.properties:

framework.server.name = 172.1.200.75
framework.server.hostname = 172.1.200.75
framework.server.port = 80
framework.server.url = http://rundeck.ex.com:4440

Reply all
Reply to author
Forward
0 new messages