Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 0d141ae6 authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

Enable HSTS and add property for max age

parent db2193cc
No related branches found
No related tags found
No related merge requests found
...@@ -65,5 +65,5 @@ echo "Start compose" ...@@ -65,5 +65,5 @@ echo "Start compose"
docker-compose -p ${PREFIX} up -d --force-recreate docker-compose -p ${PREFIX} up -d --force-recreate
# wait until service is up # wait until service is up
for i in `seq 100`; do timeout 1 bash -c ' curl --head --silent --fail http://localhost:8982/smp/'; if [ $? -eq 0 ] ; then break;fi; echo "$i. Wait for tomcat to start!"; sleep 5; done; for i in `seq 100`; do timeout 1 bash -c ' curl --silent --fail http://localhost:8982/smp/'; if [ $? -eq 0 ] ; then break;fi; echo "$i. Wait for tomcat to start!"; sleep 5; done;
...@@ -66,5 +66,5 @@ echo "Start compose" ...@@ -66,5 +66,5 @@ echo "Start compose"
docker-compose -p ${PREFIX} up -d --force-recreate docker-compose -p ${PREFIX} up -d --force-recreate
# wait until service is up # wait until service is up
for i in `seq 100`; do timeout 1 bash -c ' curl --head --silent --fail http://localhost:8981/smp/'; if [ $? -eq 0 ] ; then break;fi; echo "$i. Wait for tomcat to start!"; sleep 5; done; for i in `seq 100`; do timeout 1 bash -c ' curl --silent --fail http://localhost:8981/smp/'; if [ $? -eq 0 ] ; then break;fi; echo "$i. Wait for tomcat to start!"; sleep 5; done;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment