From 4759c8ff71876347214feae279635988b984bc5c Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Wed, 12 Mar 2025 16:53:27 +0800 Subject: [PATCH] feat: add ipv6 enable for openresty --- openresty/1.27.1.1-1-focal/conf/default/00.default.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/openresty/1.27.1.1-1-focal/conf/default/00.default.conf b/openresty/1.27.1.1-1-focal/conf/default/00.default.conf index ffc1ed375..484e03e98 100644 --- a/openresty/1.27.1.1-1-focal/conf/default/00.default.conf +++ b/openresty/1.27.1.1-1-focal/conf/default/00.default.conf @@ -1,8 +1,9 @@ -server -{ +server { listen 80 default_server; + listen [::]:80 default_server; + server_name _; - + index 404.html; root /usr/share/nginx/html; -} \ No newline at end of file +}