mirror of
https://github.com/frappe/bench.git
synced 2025-01-26 08:08:23 +00:00
Merge pull request #780 from frappe/clickjacking-fix
fix: add x-frame-origin to prevent clickjacking
This commit is contained in:
commit
192c343230
@ -35,6 +35,8 @@ server {
|
||||
ssl_prefer_server_ciphers on;
|
||||
{% endif %}
|
||||
|
||||
add_header X-Frame-Options "SAMEORIGIN";
|
||||
|
||||
location /assets {
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user