adde example files

This commit is contained in:
Aaron Bieber 2019-10-16 06:47:47 -06:00
parent 2c7a47e377
commit 8f485ccb4f
Signed by: qbit
GPG Key ID: 279160AB1BE1236B
7 changed files with 35 additions and 0 deletions

3
examples/host1/commands Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
touch /var/www/htdocs/index.html

View File

@ -0,0 +1,27 @@
# $OpenBSD: httpd.conf,v 1.20 2018/06/13 15:08:24 reyk Exp $
server "example.com" {
listen on * port 80
location "/.well-known/acme-challenge/*" {
root "/acme"
request strip 2
}
location * {
block return 302 "https://$HTTP_HOST$REQUEST_URI"
}
}
server "example.com" {
listen on * tls port 443
tls {
certificate "/etc/ssl/example.com.fullchain.pem"
key "/etc/ssl/private/example.com.key"
}
location "/pub/*" {
directory auto index
}
location "/.well-known/acme-challenge/*" {
root "/acme"
request strip 2
}
}

1
examples/host1/files Normal file
View File

@ -0,0 +1 @@
etc/httpd.conf:root:wheel:0644:/etc/httpd.conf

1
examples/host1/groups Normal file
View File

@ -0,0 +1 @@
fake:1001

1
examples/host1/packages Normal file
View File

@ -0,0 +1 @@
vim--no_x11

1
examples/host1/services Normal file
View File

@ -0,0 +1 @@
httpd

1
examples/host1/users Normal file
View File

@ -0,0 +1 @@
fake:1001:1001:Fake_User:/home/fake:/bin/ksh:$2b$09$NvIvfvzbA7jwlbofXpJgQOKmYeponYOOBzsjcQCCJX2AfC9wy0jK2