Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

need jira customer portal rewrite using nginx

nicolas unterberger November 5, 2014

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 helpdesk.domain.com instead helpdesk.domain.com/servicedesk/customer/portal/1.

 

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/nginx.pid;

 

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;

                server_name  helpdesk.domain.de;

                access_log off;

                location / {

                        proxy_pass http://helpdesk.domain.de:8080;

#                       proxy_redirect http://helpdesk.domain.de/servicedesk/customer/portal/1 /;

                        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

1 vote
Norbert Bede December 29, 2015

hi

same issue here. did you found proper solution ?

norbert

1 vote
nicolas unterberger November 11, 2014

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

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events