Added IPv6 listening
This commit is contained in:
parent
b725bbbe48
commit
c630fd9a99
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
server
|
||||
{
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name *.leaderbin.com;
|
||||
|
||||
if ($host ~* "^(.+)\.leaderbin\.com$")
|
||||
|
@ -12,6 +13,7 @@ server
|
|||
server
|
||||
{
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name local.leaderbin.com leaderbin.com;
|
||||
|
||||
access_log /var/log/nginx/leaderbin.com.access.log;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue