Omar Polo
e3ddf39095
add the ``entrypoint'' option
2021-02-06 18:28:43 +00:00
Omar Polo
6abda252e9
added `block return'' and
`strip'' options
2021-02-06 17:22:37 +00:00
Omar Polo
709f4c9447
alter the string, don't advance pointer
...
if we advance the pointer, we crash during reload due to an invalid
address given to free. altering the string is the way.
2021-02-04 20:04:12 +00:00
Omar Polo
ca21e10043
reload configuration on SIGHUP
2021-02-04 13:23:15 +00:00
Omar Polo
e17642a7bb
require absolute paths in config file
2021-02-01 11:08:57 +00:00
Omar Polo
32693ee6db
include string.h
...
openbsd and freebsd yacc include string.h in the generated sources,
bison (tested on alpine at least) don't
2021-01-28 17:50:22 +00:00
Omar Polo
415ac7a229
fix build
2021-01-28 16:33:20 +00:00
Omar Polo
cbeee4cad1
warn about punycode in server definition
2021-01-28 16:27:40 +00:00
Omar Polo
13ed2fb63f
improve configuration parsing error
2021-01-27 16:45:45 +00:00
Omar Polo
fe5967cd02
const-ify strings in struct location
2021-01-27 15:53:30 +00:00
Omar Polo
46af8c6cfe
drop the daemon config in favour of the -f flag
...
Now it daemonize by default when running with a config, unless the -f
flag is given.
2021-01-27 12:04:37 +00:00
Omar Polo
ae08ec7da5
chroot & drop privileges
2021-01-25 10:30:07 +00:00
Omar Polo
252908e6bb
added support for location blocks
2021-01-24 18:53:26 +00:00
Omar Polo
c8b7433918
added support for location blocks
2021-01-24 14:11:40 +00:00
Omar Polo
e7a2a99b5a
added index option
2021-01-24 09:14:01 +00:00
Omar Polo
b2a6b61371
rename mimes to mime ; pass config esplicitly to mime* functions
2021-01-21 15:01:37 +00:00
Omar Polo
6119e13e8a
moving "default type" from global options to server options
2021-01-19 11:28:41 +00:00
Omar Polo
05c23a54ea
add "lang" server option
2021-01-19 10:58:29 +00:00
Omar Polo
982069a120
add "mime" and "default type" option for the configuration
2021-01-18 18:43:47 +00:00
Omar Polo
5bc3c98ed4
add protocols to the config
2021-01-15 18:55:05 +00:00
Omar Polo
1590277007
conf & vhosts
...
* gmid.c (main): changed behaviour: daemon off by default
(main): changed -c in -C (cert option)
(main): changed -k in -K (key option, for consistency with -C)
(main): added -c to load a configuration
(main): certs, key and doc (-C -K and -d) doesn't have a default value anymore
(handle_handshake): add vhosts support
2021-01-15 09:17:43 +00:00