--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/8dfba721-934b-4766-9ff3-89bfad607d11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Doug, we are running 3 AtoM instances on both our test and prod servers. Each is a Git checkout in /usr/share/nginx:
/usr/share/nginx/collections
/usr/share/nginx/items
/usr/share/nginx/nunavut
Each has it's own PHP FPM config in /etc/php/7.0/fpm/pool.d/ named atom-collections.conf, atom-items.conf,
and atom-nunavut.conf. Each of these files and each uses it's own socket, like this:
listen = /run/php7.0-fpm.atom-collections.sock
Each also has it's own Gearman setup as well.
My /etc/nginx/sites-available/atom file looks like this:
Caveat: this is my first experience with nginx; I much prefer Apache as the config files make far more sense to me, so this could probably be improved. It took me a long time to finally get this working, so I don't dare touch it anymore
:)
- Darryl
----------------------------------------------------------------------
Darryl Friesen, B.Sc., Programmer/Analyst Darryl....@usask.ca
Library Systems & Information Technology, http://library.usask.ca/
University of Saskatchewan Library
----------------------------------------------------------------------
"Go not to the Elves for counsel, for they will say both no and yes"
I kept the original /etc/php/7.0/fpm/php-fpm.conf as is, I think.
If you follow the Artefactual installation instructions, you will have created /etc/php/7.0/fpm/pool.d/atom.conf. I copied that file to create an additional one for each of the AtoM instances I wanted to run.
I think the only change I made to the content of each was the "listen" line, so that each used it's own socket.
- Darryl
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/360e39a1-37b7-487b-a4e1-05f2b638dacc%40googlegroups.com.