garbash-config

etc files for garbash tilde
git clone git://git.alexkarle.com.com/garbash-config
Log | Files | Refs | README | LICENSE

httpd.conf (1354B) [raw]


      1 # $OpenBSD: httpd.conf,v 1.22 2020/11/04 10:34:18 denis Exp $
      2 
      3 
      4 server "garbash.com" {
      5 	listen on * port 80
      6 	location "/.well-known/acme-challenge/*" {
      7 		root "/acme"
      8 		request strip 2
      9 	}
     10 	location * {
     11 		block return 302 "https://$HTTP_HOST$REQUEST_URI"
     12 	}
     13 }
     14 
     15 server "garbash.com" {
     16 	listen on * tls port 443
     17 	tls {
     18 		certificate "/etc/ssl/garbash.com.fullchain.pem"
     19 		key "/etc/ssl/private/garbash.com.key"
     20 	}
     21 	directory auto index
     22 	location "/.well-known/acme-challenge/*" {
     23 		root "/acme"
     24 		request strip 2
     25 	}
     26 }
     27 
     28 server "git.garbash.com" {
     29 	listen on * tls port 443
     30 	root "/git"
     31 	directory auto index
     32 	tls {
     33 		certificate "/etc/ssl/garbash.com.fullchain.pem"
     34 		key "/etc/ssl/private/garbash.com.key"
     35 	}
     36 	location "/.well-known/acme-challenge/*" {
     37 		root "/acme"
     38 		request strip 2
     39 	}
     40 }
     41 
     42 server "irc.garbash.com" {
     43 	listen on * tls port 443
     44 	root "/htdocs/gamja"
     45 	tls {
     46 		certificate "/etc/ssl/uacme/garbash.com/cert.pem"
     47 		key "/etc/ssl/uacme/private/garbash.com/key.pem"
     48 	}
     49 	location "/.well-known/acme-challenge/*" {
     50 		root "/acme"
     51 		request strip 2
     52 	}
     53 }
     54 
     55 server "lists.garbash.com" {
     56 	listen on * tls port 443
     57 	directory auto index
     58 	root "/htdocs/lists"
     59 	tls {
     60 		certificate "/etc/ssl/uacme/garbash.com/cert.pem"
     61 		key "/etc/ssl/uacme/private/garbash.com/key.pem"
     62 	}
     63 	location "/.well-known/acme-challenge/*" {
     64 		root "/acme"
     65 		request strip 2
     66 	}
     67 }