Skip to content

Commit efe7cbe

Browse files
committed
security update
1 parent 32f13d0 commit efe7cbe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nginx/NodeApp.stpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ server {
1111
ssl_stapling_verify on;
1212
error_log /var/log/%web_system%/domains/%domain%.error.log error;
1313

14+
# TLS 1.3 0-RTT anti-replay
15+
if ($anti_replay = 307) { return 307 https://$host$request_uri; }
16+
if ($anti_replay = 425) { return 425; }
17+
1418
include %home%/%user%/conf/web/%domain%/nginx.hsts.conf*;
1519

1620
location /error/ {

0 commit comments

Comments
 (0)