Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx ipv6 conf #271

Merged
merged 8 commits into from
Dec 25, 2019
Merged

nginx ipv6 conf #271

merged 8 commits into from
Dec 25, 2019

Conversation

eallion
Copy link

@eallion eallion commented Dec 23, 2019

修改了vhost.shNginx创建ipv4+ipv6主机时的conf配置
原来默认生成:

server {
  listen 80;
  listen 443 ssl http2;

  ******

}

现在默认生成:

server {
  listen 80;
  listen [::]:80;
  listen 443 ssl http2;
  listen [::]:443 ssl http2;

  ******

}

没有做判断,直接写死了ipv4+ipv6+https这一种情况。

@oneinstack oneinstack merged commit 3c130a0 into oneinstack:master Dec 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants