Luci on nginx compile

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)

:slight_smile:

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

%E6%8D%95%E8%8E%B7

Although I get this error message, it's still woking
2

Login works?

Yes, everything works fine. Except the cgi.plugin error, also I can't kill the uwsgi process.

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

Cgi.plugin is something related to someodule

When I remove "plugins = cgi" , the message disappeared and nginx also work

where do you remove plugins = cgi ?

anyway new package luci-nginx without dependency of uhttpd :slight_smile:

where? when? how?
:slight_smile:

luci-nginx it's just luci package without the uhttpd dependency :frowning:

%E6%8D%95%E8%8E%B7
Remove this one.

I still got the unable to dispatch error even after following your instructions :frowning:
I'm using latest trunk (r7177)
Any idea?

Thanks bro :heart_eyes:

what is the link in the address bar?

try to clear cache

@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?

yes :slight_smile:

also test it with another browser