Mercurial Hosting > luan
comparison host/gen_nginx.sh @ 2146:2bc779c2451d nginx_decoupled
rename files
| author | Violet7 |
|---|---|
| date | Wed, 21 Jan 2026 20:15:11 -0800 |
| parents | 67b504ba388c |
| children | 515e892cd4c2 |
comparison
equal
deleted
inserted
replaced
| 2145:2b498e7f6d9e | 2146:2bc779c2451d |
|---|---|
| 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/nginx.conf.luan $LUANHOST_DIR >"$NGINX_SITE_CONFIGS_DIR/luanhost.conf" | 18 luan startup/nginx/luanhost_controller.conf.luan $LUANHOST_DIR >"$NGINX_SITE_CONFIGS_DIR/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 not meant to be loaded on its own. | 21 # it is only meant to be loaded as part of a server block. |
| 22 luan startup/nginx/nginx.default.conf.luan $LUANHOST_DIR >"$LUANHOST_DIR/local/luanhost.default.conf" | 22 luan startup/nginx/luanhost_default_site.conf.luan $LUANHOST_DIR >"$LUANHOST_DIR/local/luanhost_default_site.conf" |
