pulibrary / princeton_ansible

Ansible Roles and Playbooks for Princeton University Library
10 stars 4 forks source link

[nginxplus] add x-frame config for library website #4740

Closed VickieKarasic closed 3 weeks ago

VickieKarasic commented 7 months ago

Some guidance on how to do this

More examples

VickieKarasic commented 7 months ago

Tried changing the ALLOW-FROM on nginx http config but this did not work so far (see #4743)

VickieKarasic commented 7 months ago

The ALLOW-FROM protocol is outdated, so adding add_header Content-Security-Policy "frame-ancestors 'self' https://princeton.libwizard.com;" this worked instead.

VickieKarasic commented 3 weeks ago

There wasn't further interest in exploring the Articles+ integration, so will close this issue.