Skip to content

Commit

Permalink
Added IPv6 listening
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtronic committed Feb 8, 2014
1 parent 7e6a7e4 commit 1d25913
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
server
{
listen 80;
listen [::]:80;
server_name *.holidayapi.com;

if ($host ~* "^(.+)\.holidayapi\.com$")
Expand All @@ -12,6 +13,7 @@ server
server
{
listen 80;
listen [::]:80;
server_name local.holidayapi.com holidayapi.com;

access_log /var/log/nginx/holidayapi.com.access.log;
Expand Down

0 comments on commit 1d25913

Please sign in to comment.