Skip to content

Commit 99443ad

Browse files
committed
Update source and remove old container
1 parent 75566ad commit 99443ad

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

bin/ssl_test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ else
2323
fi
2424

2525
# Read your .env file
26-
source .env
26+
source ./../.env
27+
28+
# Stop if test is running
29+
docker stop test-web
30+
docker rm test-web
2731

2832
# Testing your proxy
2933
docker run -d -e VIRTUAL_HOST=$DOMAIN -e LETSENCRYPT_HOST=$DOMAIN --network=$NETWORK --rm --name test-web httpd:alpine

bin/test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ else
2323
fi
2424

2525
# Read your .env file
26-
source .env
26+
source ./../.env
27+
28+
# Stop if test is running
29+
docker stop test-web
30+
docker rm test-web
2731

2832
# Testing your proxy
2933
docker run -d -e VIRTUAL_HOST=$DOMAIN --network=$NETWORK --rm --name test-web httpd:alpine

0 commit comments

Comments
 (0)