Ansuel
June 10, 2018, 6:07pm
61
um... currently i'm pushing a luci-nginx package that will install nginx and luci without installing uhttpd...
I will finally push another package that will install specific nginx file and uwsgi configuration with a right init.d file to autostart it.
We need to wait... and in all this time i'm pushing a lot of fixes to improve luci and improve compatibility with uwsgi (fix reboot,apply page and and upgrade page)
well i'm not in a hurry, but it would be nice to have a single package to turn "standard" luci to "nginx" luci, since not many people crate their own build..
How strange, I use the latest makefile and uwsgi.ini mentioned before, but I get the cgi_plugin error again
I build from the latest 18.06 source and have executed make disclean
Although I get this error message, it's still woking
Yes, everything works fine. Except the cgi.plugin error, also I can't kill the uwsgi process.
Ansuel
June 12, 2018, 12:45am
67
the uwsgi have 4 subprocess
about cgi.plugin some way to reproduce it? what is your configuration?
pgrep uwsgi
kill -kill the first one should kill uwsgi... will upload a new config with linux socket and a pid file....
Base on your config, I only change this two
threads = 2 -> 1
processes = 4 -> 2
Ansuel
June 12, 2018, 10:38am
69
Cgi.plugin is something related to someodule
When I remove "plugins = cgi" , the message disappeared and nginx also work
Ansuel
June 12, 2018, 5:26pm
71
where do you remove plugins = cgi ?
anyway new package luci-nginx without dependency of uhttpd
Ansuel
June 12, 2018, 5:45pm
73
luci-nginx it's just luci package without the uhttpd dependency
I still got the unable to dispatch
error even after following your instructions
I'm using latest trunk (r7177)
Any idea?
Ansuel
June 13, 2018, 10:23am
77
what is the link in the address bar?
try to clear cache
Ansuel
June 13, 2018, 2:04pm
78
@hnyman sorry for tag i need to ask you some question
I'm working on a package that will contain configuration file to use luci with nginx...
Where should i create the package?
I was thinking about a luci package with the configuration file in it...
I need to add an init.d file (i don't know if the link in rc.d creates automatically on install) and i need to modify nginx.conf file...
In your opinion should i replace the nginx file with the custom one or try to modify the one already installed?
10.0.0.1/cgi-bin/luci
You mean I should access 10.0.0.1/
instead?
Ansuel
June 13, 2018, 2:10pm
80
yes
also test it with another browser