Question: Feedback on using uWSGI
gravatar for tuto345
4.0 years ago by
tuto34520 wrote:

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 '';

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 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?



software error galaxy • 1.2k views
ADD COMMENTlink modified 2.6 years ago by romeu.alfred10 • written 4.0 years ago by tuto34520
gravatar for jmchilton
4.0 years ago by
United States
jmchilton1.1k wrote: manages both uwsgi and Galaxy together with supervisord ( - it seems like a good choice. Nate put together a detailed walk through of how to configure everything for the GCC this year at

ADD COMMENTlink written 4.0 years ago by jmchilton1.1k
gravatar for romeu.alfred
2.6 years ago by
romeu.alfred10 wrote:

I'll include a more updated resource for supervisord configuration

ADD COMMENTlink written 2.6 years ago by romeu.alfred10
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 179 users visited in the last hour