Skip to content

Commit

Permalink
Merge pull request magento#8415 from magento-l3/MC-40003
Browse files Browse the repository at this point in the history
MC-40003: [Documentation] Invalid directive for 'X-Frame-Options' header
  • Loading branch information
jeff-matthews authored Dec 18, 2020
2 parents 35a46e4 + b4e49d1 commit 533bac3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/guides/v2.3/config-guide/secy/secy-xframe.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ Set a value for `X-Frame-Options` in `<magento_root>/app/etc/env.php`. Following
'x-frame-options' => 'SAMEORIGIN',
```

If you want to allow any website to load page, you can use `*`:

```php
'x-frame-options' => '*',
```

We require you to edit `env.php` because it's more secure than setting a value in the [Magento Admin](https://glossary.magento.com/magento-admin).

## Verify your setting for `X-Frame-Options`
Expand Down

0 comments on commit 533bac3

Please sign in to comment.