comparison host/doc/install.txt @ 2129:6a2383baecb6

integrate into system nginx
author Violet7
date Fri, 16 Jan 2026 15:30:49 -0800
parents 8311ddedf344
children aaf2795f4ed8
comparison
equal deleted inserted replaced
2128:cfe173c8e104 2129:6a2383baecb6
28 (requires user to be part of group "admin") 28 (requires user to be part of group "admin")
29 29
30 7) compile 30 7) compile
31 ./update.sh 31 ./update.sh
32 32
33 8) open in browser http://me.luan.software:8080 33 8) Configure nginx
34 nginx config can exist in many places, on old macOS it is usually /usr/local/etc/nginx/nginx.conf
35 can also exist at /usr/local/nginx/conf/nginx.conf or /etc/nginx/nginx.conf
36
37 add this line inside the `http` block
38 include /Users/administrator/luan/host/local/nginx.conf;
39
40 if nginx provides a default server, it conflicts with the luanhost one. remove or disable it.
41 on old macOS this usually does not exist and this step is not needed
42 sudo rm -r /etc/nginx/sites-enabled/default
43
44 9) open in browser http://me.luan.software:8080
34 45
35 Install on production/test machine: 46 Install on production/test machine:
36 1 - 7 same 47 1 - 7 same
37 48
38 8) Add startup (macOS) 49 8) Add startup (macOS)