comparison host/gen_nginx.sh @ 2147:515e892cd4c2 nginx_decoupled tip

set nginx error log; rename luanhost_controller
author Violet7
date Wed, 21 Jan 2026 21:57:07 -0800
parents 2bc779c2451d
children
comparison
equal deleted inserted replaced
2146:2bc779c2451d 2147:515e892cd4c2
13 13
14 LUANHOST_DIR="$(pwd)" 14 LUANHOST_DIR="$(pwd)"
15 15
16 cp startup/nginx/mime.types $NGINX_ROOT_CONFIG_DIR 16 cp startup/nginx/mime.types $NGINX_ROOT_CONFIG_DIR
17 luan startup/nginx/nginx_master.conf.luan $NGINX_ROOT_CONFIG_DIR $NGINX_SITE_CONFIGS_DIR $NGINX_LOG_DIR $NGINX_PID_DIR $NGINX_USER $NGINX_GROUP >$NGINX_ROOT_CONFIG_FILE 17 luan startup/nginx/nginx_master.conf.luan $NGINX_ROOT_CONFIG_DIR $NGINX_SITE_CONFIGS_DIR $NGINX_LOG_DIR $NGINX_PID_DIR $NGINX_USER $NGINX_GROUP >$NGINX_ROOT_CONFIG_FILE
18 luan startup/nginx/luanhost_controller.conf.luan $LUANHOST_DIR >"$NGINX_SITE_CONFIGS_DIR/luanhost_controller.conf" 18 luan startup/nginx/9990-luanhost_controller.conf.luan $LUANHOST_DIR >"$NGINX_SITE_CONFIGS_DIR/9990-luanhost_controller.conf"
19 19
20 # DON'T put this in the auto-loaded configs dir (NGINX_SITE_CONFIGS_DIR), 20 # DON'T put this in the auto-loaded configs dir (NGINX_SITE_CONFIGS_DIR),
21 # it is only meant to be loaded as part of a server block. 21 # it is only meant to be loaded as part of a server block.
22 luan startup/nginx/luanhost_default_site.conf.luan $LUANHOST_DIR >"$LUANHOST_DIR/local/luanhost_default_site.conf" 22 luan startup/nginx/luanhost_default_site.conf.luan $LUANHOST_DIR >"$LUANHOST_DIR/local/luanhost_default_site.conf"