view host/start_nginx.sh @ 2141:c62dfd37545f nginx_decoupled

use regex trick to stop stop_nginx.sh from detecting itself
author Violet7
date Mon, 19 Jan 2026 20:56:48 -0800
parents 3ca8f933209d
children 2b498e7f6d9e
line wrap: on
line source

#!/bin/bash

set -e
. nginx_common.sh

sudo nginx -c $NGINX_ROOT_CONFIG_FILE -t
sudo nginx -c $NGINX_ROOT_CONFIG_FILE