Hi Boris

If there 's no port conflict, you can run multiple nginx instances without 
any problem. So if you do installation by binary you needn't remove the 
prior version.
If you don't want to run multiple nginx instances , you can stop the old 
one and copy the configuration files to the new one related directories. 
Then do additional 
configurations for nginx-clojure module, start the new nginx instance 
(including nginx-clojure).

If you want to replace the old nginx, you need to some things  to keep the 
default behaviors the same with you old nginx.

(1) Get the build configure arguments with your old nginx  you can run 

nginx -V
(2) Get the nginx souce and nginx-clojure source
(3) rebuild nginx-clojure with not only the build configure arguments with 
your old nginx but also the build configure arguments with nginx-clojure. 
e.g.

$./configure MY-OLD-BUILD-CONFIGURE-ARGUMENTS\
    --add-module=nginx-clojure/src/c
$make

(4) replace the old nginx binary file with the new one.

regards
xfeep




On Wednesday, July 9, 2014 4:24:02 AM UTC+8, Boris Kourtoukov wrote:
>
> I am working on a small personal project and want to use/learn nginx and 
> clojure as the web backend. Unfortunately I am bogged down my the 
> installation instructions.
>
> I have Nginx running and serving html on a Linode instance, I just don't 
> know enough about it's plugins to do step 1.1 "Installation by Binary"  in 
> the nginx-clojure instructions: 
> https://github.com/nginx-clojure/nginx-clojure#11-installation-by-binary
>
> The way I read it nginx-clojure is meant to completely replace nginx on 
> the machine? So should I remove the prior version, install this from binary 
> and then re-setup the served sites? 
>
> Thanks and sorry for the basic question,
> Boris
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to