kore/examples
Joris Vink cffb7ec379 Allow on-the-fly reloading of certificates/keys.
This commit introduces the ability for the keymgr process
to reload the certificates/keys for domains when receiving
a SIGUSR1 signal.

The keymgr receives 2 new configuration options:
	- keymgr_root_path
		The root path where the keymgr will live.
		If -n is not specified when the application starts the
		keymgr process will chroot into here.

	- keymgr_runas_user
		The user the keymgr will drop privileges towards if
		-r was not specified.

All certfile and certkey configuration options are now relative to the
keymgr_root_path configuration setting.

The keymgr process will now also load the certificate for the domain
(rather then the workers) and submit these to the worker processes so
they can be reloaded when required.

Worker processes will refuse connections until the TLS configuration
for a given domain is completed (aka: the workers receive the certificate
for that domain).

Other changes:
	- client_certificates renamed to client_verify.
	- the chroot configuration option is now called root.
	- kore is a little more verbose if privsep options are missing.
	- filemaps are now relative to the root configuration option.
2018-07-11 09:44:29 +02:00
..
cookies change all domain directives to * in examples. 2017-09-19 15:16:02 +02:00
cpp change all domain directives to * in examples. 2017-09-19 15:16:02 +02:00
generic change all domain directives to * in examples. 2017-09-19 15:16:02 +02:00
headers Rework HTTP and worker processes. 2018-02-14 13:48:49 +01:00
integers remove unneeded include. 2018-05-04 15:56:56 +02:00
json_yajl 2018 2018-01-20 22:51:06 +01:00
jsonrpc change all domain directives to * in examples. 2017-09-19 15:16:02 +02:00
ktunnel Allow param blocks to be marked as "querystring" 2018-01-16 18:47:50 +01:00
memtag 2018 2018-01-20 22:51:06 +01:00
messaging Allow on-the-fly reloading of certificates/keys. 2018-07-11 09:44:29 +02:00
nohttp change all domain directives to * in examples. 2017-09-19 15:16:02 +02:00
parameters Allow param blocks to be marked as "querystring" 2018-01-16 18:47:50 +01:00
pgsql 2018 2018-01-20 22:51:06 +01:00
pgsql-sync change all domain directives to * in examples. 2017-09-19 15:16:02 +02:00
pipe_task change all domain directives to * in examples. 2017-09-19 15:16:02 +02:00
python prefix HTTP defines when exporting them to python. 2018-04-10 14:35:52 +02:00
python-pgsql 2018 2018-01-20 22:51:06 +01:00
sse Rework HTTP and worker processes. 2018-02-14 13:48:49 +01:00
tasks Rework HTTP and worker processes. 2018-02-14 13:48:49 +01:00
tls-proxy change all domain directives to * in examples. 2017-09-19 15:16:02 +02:00
upload 2018 2018-01-20 22:51:06 +01:00
video_stream typo 2018-05-03 21:40:50 +02:00
websocket change all domain directives to * in examples. 2017-09-19 15:16:02 +02:00