# Adding X-Frame-Options allow-from and from-ancestors

**URL:** <https://community.traefik.io/t/adding-x-frame-options-allow-from-and-from-ancestors/16863>\
**Category:** Traefik v2\
**Tags:** file\
**Created:** [December 19, 2022, 5:20am UTC](https://community.traefik.io/t/adding-x-frame-options-allow-from-and-from-ancestors/16863 "2022-12-19T05:20:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rizkyfaza20](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/rizkyfaza20/32/6376_2.png) [@rizkyfaza20](https://community.traefik.io/u/rizkyfaza20)\
**Post date:** [December 19, 2022, 5:20am UTC](https://community.traefik.io/t/adding-x-frame-options-allow-from-and-from-ancestors/16863/1 "2022-12-19T05:20:04Z")

</div>

Hi, i have traefik version 2.80 running on docker which that one i want to ask some questions is :

- what options that i should use on the title that will allow accessible Frame-Options allow-from and from ancestors

- in the file configuration i put some line like this :

```auto
headers:
        browserXssFilter: true # X-XSS-Protection=1;>
        contentTypeNosniff: true # X-Content-Type-Opti>
        forceSTSHeader: true # Add the Strict-Tran>
        frameDeny: false # X-Frame-Options=deny
        referrerPolicy: "strict-origin-when-cross-origin"
        stsincludeSubdomains: true # Add includeSubdomai>
        stsPreload: true # Add preload flag ap>
        stsSeconds: 63072000
        customFrameOptionsValue: "sameorigin"

accessControlAllowOriginList:
          #- https://auth.livecom-dev.com
          - http://localhost:3000
          - https://trimbos.livecom-dev.com
          - https://*.livecom-dev.com
          - https://*.livecom.com

```

hopefully you guys have some answers, cheers
