Hi all,
I am curious if there is a way to get the full TrueNAS Scale WebUI running in an iframe window?
When trying to do so I get the following error in Chrome:
- Refused to display 'https://truenas.mydomain.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
I am a newbie when it comes to all the HTTP header options etc. but this seems like a security feature in TrueNAS that prohibits traffic redirected from a different domain. Interestingly the request should come from the same main domain but different subdomain and it still is not allowed.
Is there any way I could configure the trueNAS webUI to be embedded as an iframe? I guess somewhere the webserver config is located where I should be able to change this 'sameorigin' to a different setting. Right now the truenas web ui is my only app that does not allow it...
Hope anyone can give me some pointers!
Regards,
Screwdge
I am curious if there is a way to get the full TrueNAS Scale WebUI running in an iframe window?
When trying to do so I get the following error in Chrome:
- Refused to display 'https://truenas.mydomain.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
I am a newbie when it comes to all the HTTP header options etc. but this seems like a security feature in TrueNAS that prohibits traffic redirected from a different domain. Interestingly the request should come from the same main domain but different subdomain and it still is not allowed.
Is there any way I could configure the trueNAS webUI to be embedded as an iframe? I guess somewhere the webserver config is located where I should be able to change this 'sameorigin' to a different setting. Right now the truenas web ui is my only app that does not allow it...
Hope anyone can give me some pointers!
Regards,
Screwdge