
This patch set enables TLS for the following OpenStack services: keystone, horizon, glance, cinder, heat, nova, placement and neutron for s- (stein) and t- (train) release. This serves as a consolidation and clean up patch for the following patches: [0] https://review.opendev.org/#/c/733291 [1] https://review.opendev.org/#/c/735202 [2] https://review.opendev.org/#/c/733962 [3] https://review.opendev.org/#/c/733404 [4] https://review.opendev.org/#/c/734896 This also addresses comments mentioned in previous patches. Co-authored-by: Gage Hugo <gagehugo@gmail.com> Co-authored-by: sgupta <sg774j@att.com> Depends-on: https://review.opendev.org/#/c/737194/ Change-Id: Id34ace54298660b4b151522916e929a29f5731be Signed-off-by: Tin Lam <tin@irrational.io>
18 lines
251 B
Smarty
18 lines
251 B
Smarty
#!/bin/bash
|
|
set -xe
|
|
|
|
COMMAND="${@:-start}"
|
|
|
|
function start () {
|
|
envsubst < /etc/nginx/nginx.conf > /tmp/nginx.conf
|
|
cat /tmp/nginx.conf
|
|
nginx -t -c /tmp/nginx.conf
|
|
exec nginx -c /tmp/nginx.conf
|
|
}
|
|
|
|
function stop () {
|
|
nginx -s stop
|
|
}
|
|
|
|
$COMMAND
|