aboutsummaryrefslogtreecommitdiffstats
path: root/lib/un.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/un.rb')
-rw-r--r--lib/un.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/un.rb b/lib/un.rb
index 487ba9eb75..aa991288c3 100644
--- a/lib/un.rb
+++ b/lib/un.rb
@@ -319,6 +319,7 @@ def httpd
[:Port, :MaxClients].each do |name|
opt = options[name] and (options[name] = Integer(opt)) rescue nil
end
+ options[:Port] ||= 8080 # HTTP Alternate
unless argv.size == 1
raise ArgumentError, "DocumentRoot is mandatory"
end