diff host/startup/nginx/nginx.conf.luan @ 2134:de3107eb911f

improve previous
author Violet7
date Fri, 16 Jan 2026 17:59:40 -0800
parents c3b4c19f2d8a
children
line wrap: on
line diff
--- a/host/startup/nginx/nginx.conf.luan	Fri Jan 16 17:29:05 2026 -0800
+++ b/host/startup/nginx/nginx.conf.luan	Fri Jan 16 17:59:40 2026 -0800
@@ -7,7 +7,9 @@
 		# nginx usually has one at /etc/nginx/sites-enabled/default
 		listen 80 default_server;
 		listen [::]:80 default_server;
-		include <%=nginxConfigDir%>/nginx.default.conf;
+		# DON'T put this in the auto-loaded configs dir,
+		# it is not meant to be loaded on its own.
+		include <%=luanhostDir%>/local/luanhost.default.conf;
 
 		location /.well-known/acme-challenge/ {
 			# $host/ssl does not exist for non-ssl sites and requests to here