We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents da48c01 + 1db9b5d commit 84220d0Copy full SHA for 84220d0
1 file changed
lib/tls
@@ -564,6 +564,20 @@ function follow_tls_proxy {
564
# using tls configuration are down.
565
function stop_tls_proxy {
566
stop_apache_server
567
+
568
+ # NOTE(jh): Removing all tls-proxy configs is a bit of a hack, but
569
+ # necessary so that we can restart after an unstack. A better
570
+ # solution would be to ensure that each service calling
571
+ # start_tls_proxy will call stop_tls_proxy with the same
572
+ # parameters on shutdown so we can use the disable_apache_site
573
+ # function and remove individual files there.
574
+ if is_ubuntu; then
575
+ sudo rm -f /etc/apache2/sites-enabled/*-tls-proxy.conf
576
+ else
577
+ for i in $APACHE_CONF_DIR/*-tls-proxy.conf; do
578
+ sudo mv $i $i.disabled
579
+ done
580
+ fi
581
}
582
583
# Clean up the CA files
0 commit comments