This commit is contained in:
nora 2022-09-01 21:15:39 +02:00
parent 5ec5a3e64e
commit c3ba3c7d74
5 changed files with 27 additions and 11 deletions

View file

@ -23,8 +23,7 @@ http {
server_name "private-docker-registry.nilstrieb.dev";
location / {
return 404 'No registry here...';
#proxy_pass http://registry:5000/;
proxy_pass https://registry:5000/;
}
}

View file

@ -2,7 +2,7 @@
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
if [ $STAGE = "localhost" ] ;
if [ "$STAGE" = "localhost" ] ;
then
echo "INFO Running on localhost"
NGINX_CONF="nginx.local.conf"