in src/smspark/nginx_utils.py [0:0]
def start_nginx(remote_domain_name: str) -> None:
"""Start an nginx instance with the given remote domain name."""
copy_nginx_default_conf()
write_nginx_default_conf(remote_domain_name)
logging.info("Starting nginx.")
subprocess.run("/usr/sbin/nginx -c /etc/nginx/nginx.conf", shell=True)