slackbuilds

My Slackbuilds
git clone git://git.server.ky/slackcoder/slackbuilds
Log | Files | Refs | README

gmid.conf.new (838B)


      1 # Directory to isolate process.
      2 #
      3 # Only available when starting gmid as root.
      4 chroot "/srv/gmid"
      5 
      6 # User to run daemon as.  Mandatory if chroot is used.
      7 user "gmid"
      8 
      9 # An example of a server block:
     10 server "example.com" {
     11 	listen on * port 1965
     12 
     13 	# Path to the root directory of your capsule.
     14 	root "example.com"
     15 
     16         # Set self-signed TLS cert and key.  It is better to keep the keys
     17         # outside the chroot.
     18         #
     19         # This key expires after 365 days, keep in mind to renew it.
     20         #
     21         #  openssl req -x509 \
     22         #    -newkey rsa:4096 \
     23         #    -days 365 \
     24         #    -nodes \
     25         #    -out /etc/ssl/gmid/example.com.pem \
     26         #    -keyout /etc/ssl/gmid/example.com.key \
     27         #      -subj "/CN=example.com"
     28 	cert "/etc/ssl/gmid/example.com.pem"
     29 	key  "/etc/ssl/gmid/example.com.key"
     30 }