Hi,
My problem was due to an old configuration in my galaxy.ini file.
I had the following setting in my .ini but the correct setting earlier in the .ini file.
nginx_x_accel_redirect_base = true
I also had: location /_x_accel_redirect/ { internal; root /; }
Instead of: location /_x_accel_redirect/ { internal; alias /; }
In my nginx.conf file.
The alias directive needs to be there or the value in nginx_x_accel_redirect_base gets placed in front of the download directory.
Hopefully this helps someone else.
Thanks, -Sheldon
From: Briand, Sheldon (NRC/CNRC) Sent: Wednesday, February 15, 2017 2:01 PM To: 'galaxy-dev@lists.galaxyproject.org' galaxy-dev@lists.galaxyproject.org Subject: nginx x-accel
Hi,
I have galaxy 16.10. Whenever I try to download a file now nothing happens. I have followed the configuration guide for nginx to allow it to handle file downloads. However the nginx logs show that the file path has /etc/nginx/htmlTrue in front of the correct path. Obviously I have a misconfiguration somewhere but I am not sure what the problem is.
Could someone point me in the right direction?
Thanks, -Sheldon
Sheldon Briand Computer Systems and Applications Analyst National Research Council/Government of Canada Sheldon.briand@canada.ca/mailto:Sheldon.briand@canada.ca/ Tel: (902) 426-1677