Skip to content

Commit 341cdae

Browse files
committed
tests sécurisation headers
1 parent b7c26f2 commit 341cdae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.docker/nginx.apps.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ server {
2626
try_files $uri $uri/ /index.html;
2727

2828
add_header Cache-Control 'max-age=86400'; # 24h
29+
add_header X-Frame-Options DENY;
30+
add_header X-Content-Type-Options nosniff;
2931
}
3032

3133
error_page 500 502 503 504 /50x.html;

0 commit comments

Comments
 (0)