Hi all,
I've been struggling to get Galaxy up and running on a production server tying to do most of the tasks through the interface, like installing the tools exclusively through the tool shed, etc.
I decided to go with a uWSGI server and everything is working till now, but I had to include an extra directive in the nginx.conf file
location / { include uwsgi_params; uwsgi_param UWSGI_SCHEME $scheme; uwsgi_param SCRIPT_NAME ''; uwsgi_pass 127.0.0.1:8080; }
The SCRIPT_NAME parameter was giving me problems and I found the answer on the web.
I would like to know how to start the server together with the galaxy startup code. Would you recommend to edit the /etc/init.d/galaxy script or the run.sh? Till now I'm starting the uWSGI by hand but would like to include it in systemd startup process. I think that it makes no sense to start the uWSGI server without the handlers (I configured 2) nor the opposite and that both should be launched together.
Any thoughts?
Cheers,
Cristian