File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 5151 from_secret : docker_password
5252 DOCKER_REPO : artifactory-internal.digital.homeoffice.gov.uk
5353 DOCKER_USERNAME : docker-nginx-proxy-robot
54+ depends_on :
55+ - build_and_test_image
5456 when :
5557 event :
5658 - tag
6769 from_secret : docker_quay_password
6870 DOCKER_REPO : quay.io
6971 DOCKER_USERNAME : ukhomeofficedigital+nginx_proxy
72+ depends_on :
73+ - build_and_test_image
7074 when :
7175 event :
7276 - tag
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ This is useful when testing or for development instances or when a load-balancer
8080* ` SERVER_KEY ` - Can override where to find the server's SSL key.
8181* ` SSL_CIPHERS ` - Change the SSL ciphers support default only AES256+EECDH: AES256 +EDH:!aNULL
8282* ` SSL_PROTOCOLS ` - Change the SSL protocols supported default only TLSv1.2
83+ * ` SSL_SESSION_TIMEOUT ` - Specifies a time during which a client may reuse the session parameters (defaults to 10min)
8384* ` HTTP_LISTEN_PORT ` - Change the default inside the container from 10080.
8485* ` HTTPS_LISTEN_PORT ` - Change the default inside the container from 10443.
8586* ` HTTPS_REDIRECT ` - Toggle whether or not we force redirects to HTTPS. Defaults to true.
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export SERVER_CERT=${SERVER_CERT:-/etc/keys/crt}
88export SERVER_KEY=${SERVER_KEY:-/ etc/ keys/ key}
99export SSL_CIPHERS=${SSL_CIPHERS:- ' AES256+EECDH:AES256+EDH:!aNULL' }
1010export SSL_PROTOCOLS=${SSL_PROTOCOLS:- ' TLSv1.2' }
11+ export SSL_SESSION_TIMEOUT=${SSL_SESSION_TIMEOUT:- ' 10m' }
1112export HTTP_LISTEN_PORT=${HTTP_LISTEN_PORT:- 10080}
1213export HTTPS_LISTEN_PORT=${HTTPS_LISTEN_PORT:- 10443}
1314export HTTPS_REDIRECT=${HTTPS_REDIRECT:- ' TRUE' }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ cat > ${NGIX_CONF_DIR}/server_certs.conf <<-EOF_CERT_CONF
1616 ssl_ciphers ${SSL_CIPHERS} ;
1717 ssl_prefer_server_ciphers on;
1818 ssl_session_cache shared:SSL:10m;
19- ssl_session_timeout 10m ;
19+ ssl_session_timeout ${SSL_SESSION_TIMEOUT} ;
2020 ssl_stapling on;
2121 ssl_dhparam ${NGIX_CONF_DIR} /dhparam.pem;
2222EOF_CERT_CONF
You can’t perform that action at this time.
0 commit comments