feat: add nginx template reload script
This commit is contained in:
1 parent
1c7ea9dc05
commit
367dd16083
1 file changed
+11
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"
|
||||
|
||||
docker compose exec -T nginx /docker-entrypoint.d/20-envsubst-on-templates.sh
|
||||
docker compose exec -T nginx nginx -t
|
||||
docker compose exec -T nginx nginx -s reload
|
||||
|
||||
echo "Nginx configuration reloaded successfully."
|
||||
Reference in new issue
Block a user