Skip to content

hotfix(rstudio): add correct frame options #647

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 5, 2021

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Oct 5, 2021

What this does

This fixes the X-FRAME-OPTIONS to be set to same. This is required to fix rstudio in 1.23. Any previous versions, this has no effect.

Rstudio is served in an Iframe, we need to enable iframes
@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2021

✨ Coder.com for PR #647 deployed! It will be updated on every commit.

@greyscaled
Copy link
Contributor

[sc-17709]

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #17709: RStudio (REGRESSION): Can't open RStudio through Dashboard.

@@ -230,6 +230,7 @@ RStudio:
RUN chown -R coder:coder /var/lib/rstudio-server
RUN echo "server-pid-file=/tmp/rstudio-server.pid" >> /etc/rstudio/rserver.conf
RUN echo "server-data-dir=/tmp/rstudio" >> /etc/rstudio/rserver.conf
RUN echo "www-frame-origin=same" >> /etc/rstudio/rserver.conf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@khorne3 is there a way to add this to 1.23 as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we can add this to any docs. It's valid even for older versions that do not need it

@greyscaled greyscaled changed the title bug: Add correct frame options for rstudio hotfix(rstudio): add correct frame options Oct 5, 2021
@khorne3
Copy link
Contributor

khorne3 commented Oct 5, 2021

@vapurrmaid 1.23 is generated using main so we're good to go!

@greyscaled greyscaled merged commit 9d26032 into main Oct 5, 2021
@greyscaled greyscaled deleted the stevenmasley/rstudio_fix branch October 5, 2021 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants