Optware / Optware-ng

279 stars 52 forks source link

Nginx update #37

Closed LeeWiu closed 8 years ago

LeeWiu commented 8 years ago

Hi, can you update nginx web server to v1.9.9 please? Trying to install owncloud through lighttpd but performance is really bad and current nginx v1.0.14 is kind of old. Thanks

alllexx88 commented 8 years ago

Updated to 1.9.9. Haven't tested it, please test if possible

LeeWiu commented 8 years ago

I can't find v1.9.9

LeeWiu commented 8 years ago

Ok, installed nginx v1.9.9 mipsel but can't start it, I don't get any output in log or with nginx -v

alllexx88 commented 8 years ago

@TeHashX sorry, I'm away from PC, will look into it ASAP (in 10 days approx)

alllexx88 commented 8 years ago

Should be fixed now.

LeeWiu commented 8 years ago

Thanks, working fine with php too, the only way to start php-fcgi -b 127.0.0.1:9000 is to create /opt/etc/init.d/S80php-fcgi script, do you know another way?

#!/bin/sh
ENABLED=yes
PROCS=
ARGS=""
PREARGS=""
DESC=
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
/opt/etc/init.d/rc.func
start() {
php-fcgi -b 127.0.0.1:9000 &
logger -st php-fcgi "$0" "started"
exit 0
}
stop() {
killall -9 php-fcgi
}
restart() {
stop
sleep 2
start
}
status() {
ps | grep -i php-fcgi
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
restart
;;
status) status
;;
*)
echo "Usage: (start|stop|restart|status)"
exit 1
;;
esac
echo Done.
exit 0