Mesos Chronos: Not able to add response headers

24 views
Skip to first unread message

Selvam Ayyanar

unread,
Oct 23, 2019, 8:24:20 AM10/23/19
to chronos-scheduler
Hi All,

Chronos Version : 2.5.0

We are using mesos chronos 2.5.0 on production, 

We are trying to add a response header for Chronos Web UI requests.

eg: I have added 
response.addHeader(“X-FRAME-OPTIONS”, “DENY”); into  CorsFilter.scala

But it only works for /scheduler/*  requests. i want the same for /* requests too. 

I looked into mesosphere.chaos.http package and found the assets(index.html) are served from DefaultServelet ( correct me if I'm wrong )

It would be better if anyone show me the way to add response headers for all requests
Reply all
Reply to author
Forward
0 new messages