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 "$@"
diff --git a/nginx/sa.conf b/nginx/sa.conf
index 4022254..1978248 100644
--- a/nginx/sa.conf
+++ b/nginx/sa.conf
@@ -19,18 +19,6 @@
server_name id.miau.local;
- location /id/ {
- alias /var/www/html/;
- index index.php index.html;
- }
- location ~ ^/id/.*\.php$ {
- fastcgi_split_path_info ^/id(.+\.php)(.*)$;
- include fastcgi_params;
- fastcgi_pass simpleid:9000;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;
- }
-
location /auth/ { # Gerrit adds this prefix for Keycloak...
rewrite ^/auth(.*)$ $1 last;
}