slact / nchan

Fast, horizontally scalable, multiprocess pub/sub queuing server and proxy for HTTP, long-polling, Websockets and EventSource (SSE), powered by Nginx.
https://nchan.io/
Other
2.99k stars 292 forks source link

what is the best and the easiest way to install nchain with latest version of nginx on ubuntu 22.04? #642

Closed kant777 closed 2 years ago

kant777 commented 2 years ago

what is the best and the easiest way to install nchain with latest version of nginx?

when I try to run the instructions from the website it seem to pull the old version of nginx like 1.10 while the latest nginx is 1.23. Also I did read somewhere that I dont need to install nginx separately when I install nchan but installing nchain itself is not working for me because of unmet dependencies

sudo dpkg -i ~/Downloads/nginx-common_1.10.1-2ubuntu1_all.deb 
(Reading database ... 217757 files and directories currently installed.)
Preparing to unpack .../nginx-common_1.10.1-2ubuntu1_all.deb ...
Unpacking nginx-common (1.10.1-2ubuntu1) ...
dpkg: dependency problems prevent configuration of nginx-common:
 nginx-common depends on sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16); however:
  Package sysv-rc is not installed.
  Package file-rc is not installed.
kant777 commented 2 years ago

Building using source seems to be the best option to install latest nginx along with nchan