Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

[Building apps on Jira Cloud] NGINX configuration to give access to JIRA Cloud Iframe? Edited

Hi,

I'm trying to install a React app on JIRA Cloud following this documentation : https://developer.atlassian.com/cloud/jira/software/getting-started/

The app is running locally with the ngrok config.

The next step is to upload the application from a deployed https server.

I managed to upload my app from with the atlassian-connect.json.

My issue is that the JIRA iframe can't display the React application.

Here is a part of the nginx proxy config:

server {

     listen 8443 ssl;

     server_name www.$HOST $HOST;

     location $APP_PATH {

        rewrite $APP_PATH/(.*) /\$1 break;

        proxy_set_header X-Real-IP \$remote_addr;

        proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;

        proxy_set_header Host \$http_host;

        proxy_set_header X-NginX-Proxy true;

        proxy_hide_header X-Frame-Options;

        proxy_pass $APP_REDIRECT;

        proxy_redirect off;

        proxy_read_timeout 900;

        proxy_connect_timeout 900;

        proxy_send_timeout 900;

     }

    ssl_certificate /ssl/secret.crt

    ssl_certificate_key /ssl/secret/key

}

When I looked into the logs, the proxy on the deployed https server caught the GET request ""GET /index.html?xdm_e=https%3A%2F%2FXXXX.atlassian.net&xdm_c=channel-com.XXXX.app__wiveez&cp=&xdm_deprecated_addon_key_do_not_use=com.XXXX.app&lic=none&cv=1001.0.0-SNAPSHOT" but the content is not rendered.

I thought that the line "proxy_hide_header X-Frame-Options;" would do the job but no.

Thanks in advance.

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

193 views 6 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you