[store-web] Deny loading shop.g.o from within an iframe (https://gitlab.gnome.org/Infrastructure/Infrastructure/
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [store-web] Deny loading shop.g.o from within an iframe (https://gitlab.gnome.org/Infrastructure/Infrastructure/
- Date: Wed, 23 Jun 2021 13:24:45 +0000 (UTC)
commit ae2bd04b0560358ad1a3875fd42099f51ce59429
Author: Andrea Veri <averi redhat com>
Date: Wed Jun 23 15:24:19 2021 +0200
Deny loading shop.g.o from within an iframe
(https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/601)
nginx.conf | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/nginx.conf b/nginx.conf
index f84eff3..e639624 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -74,5 +74,7 @@ http {
expires max;
log_not_found off;
}
+
+ add_header X-Frame-Options "DENY" always;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]