RunDeck Series 3 – Configure Nginx ProxyPass For RunDeck

Configure ProxyPass For Rundeck

RunDeck’s web GUI always run on port 4440. If we want to make it run on 80 then we need to do a custom installation. Since that’ll be a long process and its not applicable for existing RunDeck servers. In this blog, we are configuring nginx proxypass for Rundeck to make RunDeck web access on port 80.

Install Nginx:

yum install nginx

Configure ProxyPass:

Create a new config file on /etc/nginx/conf.d/

# Replace to your domain name or IP address
vi /etc/nginx/conf.d/rundeck.conf

server {
    listen 80;
    listen [::]:80;

    access_log  /var/log/nginx/;
     location / {
    proxy_pass http://localhost: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;

Change the Server URL in runeck config file:

Edit the file.

vi /etc/rundeck/


Restart RunDeck & Nginx

service nginx restart
service rundeckd restart

Other posts in this series:

  1. Install And Configure RunDeck 3.0 On CentOS 7
  2. Add Nodes to the Rundeck

You may also like this

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.