Running NGINX on Stretch When I attempt to install nginx-module-njs I get the following errors. apt --fix-broken install did not help. # nginx -v nginx version: nginx/1.10.3 apt-get install nginx-module-njs Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libnginx-mod-http-dav-ext : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed libnginx-mod-http-echo : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed libnginx-mod-http-geoip : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed libnginx-mod-http-image-filter : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed libnginx-mod-http-subs-filter : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed libnginx-mod-http-upstream-fair : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed libnginx-mod-http-xslt-filter : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed libnginx-mod-mail : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed libnginx-mod-stream : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed nginx-full : Depends: libnginx-mod-http-auth-pam (= 1.10.3-1+deb9u2) but it is not going to be installed Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not going to be installed nginx-module-njs : Depends: nginx (= 1.14.2-1~stretch) E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)
Hmm, did you mix repositories or use backports? There is no nginx 1.14.2 in the Debian stretch repo as far as I know: https://packages.debian.org/stretch/nginx
That is an excellent question.(souces.list) I first tried" deb http://nginx.org/packages/debian/ jessie nginx then I tried: deb http://nginx.org/packages/debian/ stretch nginx at that point I had all sorts of errors and had to delete a nginx.list in sources,list.d/ What should I be using with stretch?
The packages from nginx.org are not compatible with ISPConfig and the package is not for the nginx form Debian, its for a different nginx package series provided by nginx.org. Using that repo will break an ISPConfig server as the packages form nginx.org configure nginx to run as user 'nginx' instead of the standard debian user 'www-data'. If this package does not exist in the official Debian repos, then you can't install it right away.
Your citation reverses the original sentence. The problem is that the server may NOT run as user nginx, but the packages from nginx.org run under that user. You might be able to change that in the config files that ship with that nginx package.
I want to be able to run javascript. Even though javascript is on the client side for some reason it does not work. How is this done? Thanks for your help
Javascript in a website or javascript as a server-side program (e.g. that replaces PHP)? Javascript in a website as it is commonly used in most sites and does not require a server side module like njs, it is executed in the client only. If it does not work, then there is most likely a problem in your javascript code, use the debug console of your web browser to find out what's wrong with that script.
Not sure what to say It works on Code pen. https://codepen.io/mriservice/pen/xBJxzy I must be doing something wrong in the deployment. . http://dev.mrifx.com/
That makes sense since javascript it client side. Why would code that works on Codepen not work on the server? What is the problem with my deployment?