add gmid.conf
Gemini server config file for local testing
This commit is contained in:
parent
5f93cb018f
commit
41782effc2
1 changed files with 21 additions and 0 deletions
21
gmid.conf
Normal file
21
gmid.conf
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# create certs for localhost
|
||||||
|
# openssl req -x509 -newkey rsa:4096 -nodes -keyout gmid.key \
|
||||||
|
# -out gmid.pem -days 365 -subj "/CN=localhost"
|
||||||
|
|
||||||
|
protocols "tlsv1.3"
|
||||||
|
|
||||||
|
types {
|
||||||
|
# include "/usr/share/misc/mime.types"
|
||||||
|
include "/usr/share/doc/gmid/mime.types"
|
||||||
|
}
|
||||||
|
|
||||||
|
server "localhost" {
|
||||||
|
listen on * port 1965
|
||||||
|
|
||||||
|
cert "/home/dominic/sites/oe7drt-website/gmid.pem"
|
||||||
|
key "/home/dominic/sites/oe7drt-website/gmid.key"
|
||||||
|
# root "/srv/sites/oe7drt-gemini"
|
||||||
|
root "/home/dominic/sites/oe7drt-website/public"
|
||||||
|
|
||||||
|
lang "en"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue