need jira customer portal rewrite using nginx

Hi Guys.

I managed to set up a nginx proxy pass from 80 to 8080, but the problem is i want to be accesible the customer portal under instead


I tried multiple rewrites but it doesn't seems to work, the only option that i have it seems to set a proxy_redirect.

What i am missing?


This is my nginx config file.


user www-data;

worker_processes 4;

pid /var/run/;


events {

        worker_connections 768;

        # multi_accept on;



http {


        sendfile on;

        tcp_nopush on;

        tcp_nodelay on;

        keepalive_timeout 65;

        types_hash_max_size 2048;

        include /etc/nginx/mime.types;

        default_type application/octet-stream;

        access_log /var/log/nginx/access.log;

        error_log /var/log/nginx/error.log;

        gzip off;

        gzip_disable "msie6";


        include /etc/nginx/conf.d/*.conf;

        include /etc/nginx/sites-enabled/*;


        server {

                listen   80;


                access_log off;

                location / {


#                       proxy_redirect /;

                        proxy_set_header    Host            $host;

                        proxy_set_header    X-Real-IP       $remote_addr;

                        proxy_set_header    X-Forwarded-for $proxy_add_x_forwarded_for;

                        port_in_redirect off;

                        proxy_connect_timeout 300;




2 answers

Bump. I can not believe no one has faced this problem before. Where are you, atlassian guys?


same issue here. did you found proper solution ?


Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,336 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot