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 fcc044af879e77a235eaba0f4535f95a3f35d3e3
parent 2eab2f1ed72446103aca8319c3b8bd563e406b67
Author: Joris Vink <joris@coders.se>
Date:   Tue, 19 Sep 2017 15:16:02 +0200

change all domain directives to * in examples.

Diffstat:
examples/cookies/conf/cookies.conf | 2+-
examples/cpp/conf/cpp.conf | 2+-
examples/generic/conf/generic.conf | 2+-
examples/headers/conf/headers.conf | 2+-
examples/integers/conf/integers.conf | 2+-
examples/jsonrpc/conf/jsonrpc.conf | 2+-
examples/ktunnel/conf/ktunnel.conf | 2+-
examples/messaging/conf/messaging.conf | 2+-
examples/nohttp/conf/nohttp.conf | 2+-
examples/parameters/conf/parameters.conf | 2+-
examples/pgsql-sync/conf/pgsql-sync.conf | 2+-
examples/pgsql/conf/pgsql.conf | 2+-
examples/pipe_task/conf/pipe_task.conf | 2+-
examples/sse/conf/sse.conf | 2+-
examples/tasks/conf/tasks.conf | 2+-
examples/tls-proxy/conf/tls-proxy.conf | 2+-
examples/upload/conf/upload.conf | 6+++---
examples/video_stream/conf/video_stream.conf | 2+-
examples/websocket/conf/websocket.conf | 2+-
19 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/examples/cookies/conf/cookies.conf b/examples/cookies/conf/cookies.conf @@ -5,7 +5,7 @@ load ./cookies.so tls_dhparam dh2048.pem -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem diff --git a/examples/cpp/conf/cpp.conf b/examples/cpp/conf/cpp.conf @@ -4,7 +4,7 @@ bind 127.0.0.1 8888 load ./cpp.so tls_dhparam dh2048.pem -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem static / page diff --git a/examples/generic/conf/generic.conf b/examples/generic/conf/generic.conf @@ -20,7 +20,7 @@ authentication auth_example { authentication_uri /private } -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem accesslog kore_access.log diff --git a/examples/headers/conf/headers.conf b/examples/headers/conf/headers.conf @@ -5,7 +5,7 @@ load ./headers.so tls_dhparam dh2048.pem -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem static / page diff --git a/examples/integers/conf/integers.conf b/examples/integers/conf/integers.conf @@ -10,7 +10,7 @@ tls_dhparam dh2048.pem validator v_id regex ^-?[0-9]*$ -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem static / page diff --git a/examples/jsonrpc/conf/jsonrpc.conf b/examples/jsonrpc/conf/jsonrpc.conf @@ -5,7 +5,7 @@ load ./jsonrpc.so tls_dhparam dh2048.pem -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem diff --git a/examples/ktunnel/conf/ktunnel.conf b/examples/ktunnel/conf/ktunnel.conf @@ -12,7 +12,7 @@ validator v_port regex ^[0-9]*$ # Disable timeouts http_keepalive_time 0 -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem diff --git a/examples/messaging/conf/messaging.conf b/examples/messaging/conf/messaging.conf @@ -5,7 +5,7 @@ load ./messaging.so init tls_dhparam dh2048.pem workers 4 -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem static / page diff --git a/examples/nohttp/conf/nohttp.conf b/examples/nohttp/conf/nohttp.conf @@ -16,7 +16,7 @@ tls_dhparam dh2048.pem # We must still define a domain to use TLS. This might go away # in the future for NOHTTP=1 -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem } diff --git a/examples/parameters/conf/parameters.conf b/examples/parameters/conf/parameters.conf @@ -10,7 +10,7 @@ tls_dhparam dh2048.pem # it only matches positive numbers. validator v_id regex ^[0-9]*$ -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem diff --git a/examples/pgsql-sync/conf/pgsql-sync.conf b/examples/pgsql-sync/conf/pgsql-sync.conf @@ -4,7 +4,7 @@ bind 127.0.0.1 8888 load ./pgsql-sync.so init tls_dhparam dh2048.pem -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem static / page diff --git a/examples/pgsql/conf/pgsql.conf b/examples/pgsql/conf/pgsql.conf @@ -9,7 +9,7 @@ tls_dhparam dh2048.pem http_keepalive_time 0 -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem diff --git a/examples/pipe_task/conf/pipe_task.conf b/examples/pipe_task/conf/pipe_task.conf @@ -8,7 +8,7 @@ tls_dhparam dh2048.pem websocket_maxframe 65536 websocket_timeout 10000 -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem diff --git a/examples/sse/conf/sse.conf b/examples/sse/conf/sse.conf @@ -6,7 +6,7 @@ tls_dhparam dh2048.pem http_keepalive_time 600 -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem diff --git a/examples/tasks/conf/tasks.conf b/examples/tasks/conf/tasks.conf @@ -11,7 +11,7 @@ http_keepalive_time 0 validator v_user regex ^[a-z]*$ -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem accesslog kore_access.log diff --git a/examples/tls-proxy/conf/tls-proxy.conf b/examples/tls-proxy/conf/tls-proxy.conf @@ -11,7 +11,7 @@ tls_dhparam dh2048.pem bind 127.0.0.1 8888 client_setup # Setup domain for TLS usage. -domain localhost { +domain * { certfile cert/server.pem certkey cert/key.pem } diff --git a/examples/upload/conf/upload.conf b/examples/upload/conf/upload.conf @@ -8,9 +8,9 @@ tls_dhparam dh2048.pem http_body_max 1024000000 http_body_disk_offload 4096 -domain 127.0.0.1 { - certfile cert/server.pem - certkey cert/key.pem +domain * { + certfile cert/server.pem + certkey cert/key.pem static / page } diff --git a/examples/video_stream/conf/video_stream.conf b/examples/video_stream/conf/video_stream.conf @@ -7,7 +7,7 @@ tls_dhparam dh2048.pem http_keepalive_time 600 -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem accesslog access.log diff --git a/examples/websocket/conf/websocket.conf b/examples/websocket/conf/websocket.conf @@ -12,7 +12,7 @@ workers 4 websocket_maxframe 65536 websocket_timeout 20 -domain 127.0.0.1 { +domain * { certfile cert/server.pem certkey cert/key.pem