registry login
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
export REGISTRY="docker.triton2.fet.at"
|
export REGISTRY="docker.triton2.fet.at"
|
||||||
|
docker login $REGISTRY
|
||||||
|
|
||||||
# build a small nginx image to handle routing of /dev and other services
|
# build a small nginx image to handle routing of /dev and other services
|
||||||
docker build --no-cache -f dockerfiles/Dockerfile.nginx -t $REGISTRY/dev_nginx:latest .
|
docker build --no-cache -f dockerfiles/Dockerfile.nginx -t $REGISTRY/dev_nginx:latest .
|
||||||
|
|||||||
@@ -20,17 +20,7 @@ server {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# location /etherpad {
|
|
||||||
# rewrite /etherpad/(.*) /$1 break;
|
|
||||||
# rewrite ^/etherpad$ /etherpad/ permanent;
|
|
||||||
# proxy_pass http://$etherpad:9001;
|
|
||||||
# proxy_redirect / /etherpad/;
|
|
||||||
# proxy_set_header Host $host;
|
|
||||||
# proxy_buffering off;
|
|
||||||
# sub_filter /static/plugins/ /etherpad/static/plugins/;
|
|
||||||
# sub_filter /etherpad/etherpad/static/plugins/ /etherpad/static/plugins/;
|
|
||||||
# sub_filter_once off;
|
|
||||||
# }
|
|
||||||
location /dev {
|
location /dev {
|
||||||
rewrite_log on;
|
rewrite_log on;
|
||||||
rewrite /dev/(.*) /$1 break;
|
rewrite /dev/(.*) /$1 break;
|
||||||
|
|||||||
Reference in New Issue
Block a user