Mercurial Hosting > luan
diff 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 |
line wrap: on
line diff
--- a/host/gen_nginx.sh Mon Jan 19 22:25:37 2026 -0800 +++ b/host/gen_nginx.sh Wed Jan 21 20:15:11 2026 -0800 @@ -15,8 +15,8 @@ cp startup/nginx/mime.types $NGINX_ROOT_CONFIG_DIR 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 -luan startup/nginx/nginx.conf.luan $LUANHOST_DIR >"$NGINX_SITE_CONFIGS_DIR/luanhost.conf" +luan startup/nginx/luanhost_controller.conf.luan $LUANHOST_DIR >"$NGINX_SITE_CONFIGS_DIR/luanhost_controller.conf" # DON'T put this in the auto-loaded configs dir (NGINX_SITE_CONFIGS_DIR), -# it is not meant to be loaded on its own. -luan startup/nginx/nginx.default.conf.luan $LUANHOST_DIR >"$LUANHOST_DIR/local/luanhost.default.conf" +# it is only meant to be loaded as part of a server block. +luan startup/nginx/luanhost_default_site.conf.luan $LUANHOST_DIR >"$LUANHOST_DIR/local/luanhost_default_site.conf"
