[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: hydra: bayfront: Limit embedding of hpc.guix.info in frames.
From: |
Ludovic Courtès |
Subject: |
04/08: hydra: bayfront: Limit embedding of hpc.guix.info in frames. |
Date: |
Mon, 6 Jun 2022 06:07:17 -0400 (EDT) |
civodul pushed a commit to branch master
in repository maintenance.
commit 644dc8fe8c610aa471a8e7c2a641576e85420300
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Jun 6 11:22:40 2022 +0200
hydra: bayfront: Limit embedding of hpc.guix.info in frames.
* hydra/bayfront.scm (%hpc.guix.info-nginx-servers): Add
'X-Frame-Options' header.
---
hydra/bayfront.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index dc8b81b..44fe233 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -318,7 +318,10 @@ proxy_cache_path /var/cache/nginx/bordeaux/nar
(listen '("80" "[::]:80"))
(raw-content
'("
-access_log /var/log/nginx/guix-hpc.access.log;"))
+access_log /var/log/nginx/guix-hpc.access.log;
+
+# Limit embedding in HTML frames.
+add_header X-Frame-Options SAMEORIGIN;"))
(locations
(append
common-locations
@@ -350,6 +353,9 @@ ssl_dhparam /etc/dhparams.pem;
# Tell clients to keep using HTTPS.
add_header Strict-Transport-Security max-age=15552000;
+# Limit embedding in HTML frames.
+add_header X-Frame-Options SAMEORIGIN;
+
access_log /var/log/nginx/guix-hpc.access.log;"))
(locations common-locations)))))
- branch master updated (a020651 -> 437e42c), Ludovic Courtès, 2022/06/06
- 03/08: hydra: bayfront: Add 'Strict-Transport-Security' for hpc.guix.info., Ludovic Courtès, 2022/06/06
- 02/08: hydra: Drop TLSv1 and enable TLSv1.3., Ludovic Courtès, 2022/06/06
- 06/08: hydra: bayfront: Factorize common TLS options., Ludovic Courtès, 2022/06/06
- 05/08: hydra: bayfront: Update fallback URL for hpc.guix.info/browse., Ludovic Courtès, 2022/06/06
- 08/08: hydra: bayfront: Serve the 10years.guix.gnu.org web site., Ludovic Courtès, 2022/06/06
- 04/08: hydra: bayfront: Limit embedding of hpc.guix.info in frames.,
Ludovic Courtès <=
- 01/08: hydra: web: Make mcron job derivations deterministic., Ludovic Courtès, 2022/06/06
- 07/08: hydra: dns: Add entry for '10years'., Ludovic Courtès, 2022/06/06