Skip to content

Commit 9f189f2

Browse files
committed
Bind to [::] by default.
1 parent 14dd103 commit 9f189f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/puma.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
pidfile("#{app_path}/tmp/puma.pid")
1515
bind("unix://#{app_path}/tmp/puma.sock")
1616

17-
# ENV["HOST"] = "[::]" # Use this to bind to IPv6
18-
ENV["HOST"] ||= "0.0.0.0"
17+
ENV["HOST"] ||= "[::]"
18+
# ENV["HOST"] ||= "0.0.0.0" # Use this to only bind to IPv4
1919

2020
if ENV["PORT"]
2121
port(ENV["PORT"], ENV["HOST"])

0 commit comments

Comments
 (0)