about summary refs log tree commit homepage
path: root/examples
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-02-14 21:28:20 +0000
committerEric Wong <e@80x24.org>2016-02-14 21:28:20 +0000
commit1843dc670dc46d89e0a28039a1b9d263c8336c28 (patch)
tree1acfd88decff8aa2dc827d34b09de27e66bf0018 /examples
parentd1489e1eb98186fb5a0d3a05ddac89c8f575a630 (diff)
downloadyahns-1843dc670dc46d89e0a28039a1b9d263c8336c28.tar.gz
Correctly link to subsections within the same page, and include
a link to mailing list archives.

Also, use "ssl_ctx" consistently as a local variable as
we internally use "ctx" for other purposes.
Diffstat (limited to 'examples')
-rw-r--r--examples/yahns_rack_basic.conf.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/yahns_rack_basic.conf.rb b/examples/yahns_rack_basic.conf.rb
index 33ba619..f3f8e6a 100644
--- a/examples/yahns_rack_basic.conf.rb
+++ b/examples/yahns_rack_basic.conf.rb
@@ -31,7 +31,12 @@ queue do
 end
 
 app(:rack, "config.ru", preload: false) do
-  listen 8080
+  listen 80
+
+  # See yahns_config(5) and OpenSSL::SSL::SSLContext on configuring
+  # HTTPS support
+  # listen 443, ssl_ctx: ...
+
   client_max_body_size 1024 * 1024
   input_buffering true
   output_buffering true # this lazy by default