mirror of https://github.com/omar-polo/gmid.git
added sample configuration
This commit is contained in:
parent
e4d82becb7
commit
6214c12719
|
@ -1,5 +1,7 @@
|
|||
2021-01-15 Omar Polo <op@omarpolo.com>
|
||||
|
||||
* sample.conf: added sample configuration
|
||||
|
||||
* 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)
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
ipv6 on # enable ipv6
|
||||
daemon on # enable daemon mode
|
||||
|
||||
# server block example
|
||||
server "example.com" {
|
||||
cert "/path/to/cert.pem"
|
||||
key "/path/to/key.pem"
|
||||
root "/var/gemini/example.com"
|
||||
}
|
||||
|
||||
# another example server, this time with CGI enabled for scripts in
|
||||
# /cgi-bin/
|
||||
server "it.example.com" {
|
||||
cert "/path/to/cert.pem"
|
||||
key "/path/to/key.pem"
|
||||
root "/var/gemini/example.com"
|
||||
cgi "/cgi-bin/"
|
||||
}
|
Loading…
Reference in New Issue