mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
registry
This commit is contained in:
parent
5ec5a3e64e
commit
c3ba3c7d74
5 changed files with 27 additions and 11 deletions
|
|
@ -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/;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue