Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

4,546 views 12 8
Join discussion

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