-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embed webmailer into another website #222
Comments
currently returned Referrer Policy: strict-origin-when-cross-origin |
Maybe in /srv/modoboa/instance/instance/settings.py under line # Security Settings: |
No this will not work. Need to change the nginx configuration. Any hints where to find it? |
I found it under /etc/nginx/sites-available... lets see... |
also not working... can't change Referrer Policy and also not X-Frame-Options. Please help! |
so the correct config file is /etc/nginx/sites-enabled/mail.mydomain.de.conf But Currently my solution is to use the newer header 'Content-Security-Policy' (only works in modern browsers): Here my solution (DO NOT USE IN PRODUCTION) add_header 'Referrer-Policy' 'unsafe-url'; |
It's working for the start page. But the /login still not working: Refused to display 'https://mail.mydomain.de/' in a frame because it set 'X-Frame-Options' to 'sameorigin'. |
Hi all,
can you help me to embedd the webmailer into another website.
Currently I got the following error:
chromewebdata/:1
Refused to display 'https://mail.****.de/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
I think its related to Cross-Origin Resource Sharing (CORS).
Can you give me an hint to add the embeding site domain to cors allow list?
Best regards,
Jonas
The text was updated successfully, but these errors were encountered: