kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit be96a93f9ef867173be4b6a6921e17d789ee35a8
parent 12c07b79e63908effa22bf583418f8242f98e39d
Author: Joris Vink <joris@coders.se>
Date:   Fri,  6 Feb 2015 09:02:29 +0100

Add missing ssl_dhparam to all example configs.

Diffstat:
examples/generic/conf/generic.conf | 2++
examples/headers/conf/headers.conf | 2++
examples/integers/conf/integers.conf | 2++
examples/json_yajl/conf/json_yajl.conf | 2++
examples/ktunnel/conf/ktunnel.conf | 2++
examples/parameters/conf/parameters.conf | 2++
examples/pgsql/conf/pgsql.conf | 2++
examples/tasks/conf/tasks.conf | 2++
examples/video_stream/conf/video_stream.conf | 2++
examples/websocket/conf/websocket.conf | 2++
10 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/examples/generic/conf/generic.conf b/examples/generic/conf/generic.conf @@ -3,6 +3,8 @@ bind 127.0.0.1 8888 load ./generic.so example_load +ssl_dhparam dh2048.pem + validator v_example function v_example_func validator v_regex regex ^/test/[a-z]*$ validator v_number regex ^[0-9]*$ diff --git a/examples/headers/conf/headers.conf b/examples/headers/conf/headers.conf @@ -3,6 +3,8 @@ bind 127.0.0.1 8888 load ./headers.so +ssl_dhparam dh2048.pem + domain 127.0.0.1 { certfile cert/server.crt certkey cert/server.key diff --git a/examples/integers/conf/integers.conf b/examples/integers/conf/integers.conf @@ -3,6 +3,8 @@ bind 127.0.0.1 8888 load ./integers.so +ssl_dhparam dh2048.pem + validator v_id regex ^-?[0-9]*$ domain 127.0.0.1 { diff --git a/examples/json_yajl/conf/json_yajl.conf b/examples/json_yajl/conf/json_yajl.conf @@ -3,6 +3,8 @@ bind 127.0.0.1 8888 load ./json_yajl.so +ssl_dhparam dh2048.pem + domain 127.0.0.1 { certfile cert/server.crt certkey cert/server.key diff --git a/examples/ktunnel/conf/ktunnel.conf b/examples/ktunnel/conf/ktunnel.conf @@ -3,6 +3,8 @@ bind 127.0.0.1 8888 load ./ktunnel.so +ssl_dhparam dh2048.pem + # Regexes here are incorrect. validator v_host regex ^.*$ validator v_port regex ^[0-9]*$ diff --git a/examples/parameters/conf/parameters.conf b/examples/parameters/conf/parameters.conf @@ -3,6 +3,8 @@ bind 127.0.0.1 8888 load ./parameters.so +ssl_dhparam dh2048.pem + # The validator used to validate the 'id' parameter # defined below. We'll use a simple regex to make sure # it only matches positive numbers. diff --git a/examples/pgsql/conf/pgsql.conf b/examples/pgsql/conf/pgsql.conf @@ -3,6 +3,8 @@ bind 127.0.0.1 8888 load ./pgsql.so init +ssl_dhparam dh2048.pem + http_keepalive_time 0 domain 127.0.0.1 { diff --git a/examples/tasks/conf/tasks.conf b/examples/tasks/conf/tasks.conf @@ -3,6 +3,8 @@ bind 127.0.0.1 8888 load ./tasks.so +ssl_dhparam dh2048.pem + validator v_user regex ^[a-z]*$ domain 127.0.0.1 { diff --git a/examples/video_stream/conf/video_stream.conf b/examples/video_stream/conf/video_stream.conf @@ -3,6 +3,8 @@ bind 127.0.0.1 8888 load ./video_stream.so init +ssl_dhparam dh2048.pem + spdy_idle_time 600 http_keepalive_time 600 diff --git a/examples/websocket/conf/websocket.conf b/examples/websocket/conf/websocket.conf @@ -3,6 +3,8 @@ bind 127.0.0.1 8888 load ./websocket.so +ssl_dhparam dh2048.pem + websocket_maxframe 65536 websocket_timeout 20