Skip to content

Commit 9d26032

Browse files
authored
hotfix(rstudio): add correct frame options (coder#647)
As of verison 1.23, all workspace applications are served in an iframe, RStudio needs a configuration to enable this behavior.
1 parent ada4e9b commit 9d26032

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

workspaces/editors.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ RStudio:
230230
RUN chown -R coder:coder /var/lib/rstudio-server
231231
RUN echo "server-pid-file=/tmp/rstudio-server.pid" >> /etc/rstudio/rserver.conf
232232
RUN echo "server-data-dir=/tmp/rstudio" >> /etc/rstudio/rserver.conf
233+
RUN echo "www-frame-origin=same" >> /etc/rstudio/rserver.conf
233234

234235
# Assign password "rstudio" to coder user.
235236
RUN echo 'coder:rstudio' | chpasswd

0 commit comments

Comments
 (0)