Drop simpleid
diff --git a/nginx/Dockerfile.entrypoint b/nginx/Dockerfile.entrypoint
index 05e17b4..34e10f1 100644
--- a/nginx/Dockerfile.entrypoint
+++ b/nginx/Dockerfile.entrypoint
@@ -5,7 +5,6 @@
{
domain=${SA_PUBLIC_DOMAIN_NAME:-miau.local}
live=/etc/nginx/certs/live
- html=/var/www/html
if [ ! -f ${live}/${domain}/privkey.pem ]; then
mkdir -p ${live}/${domain}
@@ -15,22 +14,11 @@
cp /etc/ssl/certs/sa-selfsigned.crt ${live}/${domain}/cert.pem
fi
- rm -rf ${html}
- cp -a /var/www/simpleid ${html}
-
- for tmpl in /var/db/simpleid-templates/*.identity; do
- ref=$(dirname ${tmpl})/$(basename ${tmpl} .identity)
- name=$(basename ${ref})
- sed "s/miau.local/${domain}/" ${ref} >${html}/${name}
- done
-
for f in /etc/nginx/conf.d/sa.conf; do
sed "s/miau.local/${domain}/" ${f}.template >${f}
done
}
-chown -R root:root /var/www/html/
-
-chmod -R a-w /etc/nginx/certs/ /etc/nginx/conf.d/sa.conf /var/www/html/
+chmod -R a-w /etc/nginx/certs/ /etc/nginx/conf.d/sa.conf
exec /docker-entrypoint.sh "$@"