comparison host/doc/install.txt @ 2144:1a265803588a nginx_decoupled

update install docs
author Violet7
date Mon, 19 Jan 2026 22:01:32 -0800
parents e94d10d071e4
children
comparison
equal deleted inserted replaced
2143:0146b4739434 2144:1a265803588a
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) Configure nginx 33 8) open in browser http://me.luan.software:8080
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 if nginx provides a default server, it conflicts with the luanhost one. remove or disable it.
38 on old macOS this usually does not exist and this step is not needed
39 sudo rm -r /etc/nginx/sites-enabled/default
40
41 if nginx has a server listening on 8080, it will conflict with luanhost
42 either remove it or tell it to listen on some other port
43 this command replaces 8080 with 9876 and creates a backup with .bak
44 sed -i.bak -E 's/listen[[:space:]]+8080/listen 9876/g' /usr/local/etc/nginx/nginx.conf
45
46 9) open in browser http://me.luan.software:8080
47 34
48 Install on production/test machine: 35 Install on production/test machine:
49 1 - 7 same 36 1 - 7 same
50 37
51 8) Add startup (macOS) 38 8) Add startup (macOS)