Skip to content

Commit 99690d2

Browse files
committed
Merge remote-tracking branch 'origin/main' into dependabot/npm_and_yarn/eslint-plugin-unused-imports-4.2.0
2 parents 87b9cf7 + eee5d40 commit 99690d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nginx/nginx.tmpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ http {
1717
server {
1818
include /etc/nginx/mime.types;
1919
default_type application/octet-stream;
20+
# ---- Clickjacking protection ----
21+
add_header Content-Security-Policy "frame-ancestors 'none'" always;
22+
add_header X-Frame-Options "DENY" always;
23+
# --------------------------------
2024
sendfile on;
2125
keepalive_timeout 65;
2226
listen 8080;

0 commit comments

Comments
 (0)