Skip to content

Commit 32327f5

Browse files
committed
Restrict nginx resolver to ipv4
- Related issue hestiacp#361
1 parent 4cf01b8 commit 32327f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/deb/nginx/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ http {
114114
ssl_session_tickets off;
115115
ssl_stapling on;
116116
ssl_stapling_verify on;
117-
resolver 1.0.0.1 1.1.1.1 valid=300s;
117+
resolver 1.0.0.1 1.1.1.1 valid=300s ipv6=off;
118118
resolver_timeout 5s;
119119
add_header X-Frame-Options SAMEORIGIN;
120120
add_header X-Content-Type-Options nosniff;

0 commit comments

Comments
 (0)