This repository has been archived on 2022-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/bin/sh
|
|
# Template for static NGINX hosting.
|
|
|
|
NGINX_LOGIC="$(cat << EOF
|
|
location / {
|
|
root ${NGINX_WEBROOT:?}/${DOMAIN:?};
|
|
index index.html;
|
|
}
|
|
EOF
|
|
)"
|
|
export NGINX_LOGIC
|
|
|
|
"${__type:?}/files/generic.conf.sh"
|