Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
doc: add more tips on how to remove X-Frame-Options
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentbernat committed Feb 2, 2017
1 parent 401cf26 commit 5719649
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,11 @@ The second limitation can be quite annoying. Here are some workarounds:

2. Use a web proxy that will strip out the offending header. A good
base for such a proxy is `Node Unblocker`_. It should be easy to
modify it to remove the ``X-Frame-Options`` header.
modify it to remove the ``X-Frame-Options`` header. If you use
*nginx* to reverse proxy a service, you can use
``proxy_hide_header X-Frame-Options``. If the application is using
Ruby on Rails, add ``set :protection, :except => :frame_options``
in ``config.ru``.

3. Use a screenshot service. Instead of displaying the real website,
just display a screenshot. There are many solutions to implement
Expand Down

0 comments on commit 5719649

Please sign in to comment.