openresty 默认加入ipv6支持

This commit is contained in:
midoks 2022-10-27 14:38:44 +08:00
parent aacb816b11
commit 195ccf409e
3 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ from flask import request
class config_api:
__version = '0.10.0'
__version = '0.10.0.1'
def __init__(self):
pass

View File

@ -1,6 +1,7 @@
server
{
listen {$PORT};
listen [::]:{$PORT};
server_name {$SERVER_NAME};
index index.php index.html index.htm default.php default.htm default.html;
root {$ROOT_DIR};

View File

@ -64,6 +64,7 @@ http
server {
listen 80;
listen [::]:80;
server_name 127.0.0.1;
allow 127.0.0.1;
location /nginx_status {