Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

MC-40003: [Documentation] Invalid directive for 'X-Frame-Options' header #8415

Merged
merged 1 commit into from
Dec 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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