Skip to content

Commit 7036259

Browse files
committed
Prevent indexing of DOMjudge instance
See: DOMjudge/domjudge#2654
1 parent b7274db commit 7036259

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

provision-contest/ansible/roles/domserver/templates/nginx-domjudge-inner.j2

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ add_header X-Frame-Options "DENY";
6767
add_header Referrer-Policy "same-origin";
6868
add_header X-Content-Type-Options "nosniff";
6969
add_header X-XSS-Protection "1; mode=block";
70+
add_header X-Robots-Tag "none" always;
7071

7172
error_log /var/log/nginx/domjudge.log;
7273
access_log /var/log/nginx/domjudge.log dj_access;

0 commit comments

Comments
 (0)