Hi All,

I have been trying to get the visualization through ucsc main working, thus
I installed the nginx on our ubuntu(the one comes with update), then I
configured it according to the wiki


Here is the section in my nginx.conf

        include /etc/nginx/conf.d/*.conf;
        #include /etc/nginx/sites-enabled/*;

        upstream galaxy_app {
        server localhost:20020;
        server {
            client_max_body_size 10G;
            # ... other server stuff ...
            location / {
               proxy_pass   http://galaxy_app;
               proxy_set_header   X-Forwarded-Host $host;
               proxy_set_header   X-Forwarded-For
       server {
            location /_x_accel_redirect/ {
                alias /;

A couple notes:

1. I commented out

     #include /etc/nginx/sites-enabled/*;

    should I?

2. I have two sections of 'server', I am not sure if this is correct, but
the wiki does not talk about it.

I also have the following in universe_wsgi.ini:

nginx_x_accel_redirect_base = /_x_accel_redirect

Now, if I go to, it will redirect to,
our galaxy instance, which is right.
However, when i choose 'display in UCSC main' on a bigwig file, it failed
to show and here is the log: - - [16/May/2014:09:18:20 -0700] "GET
/display_application/360b40e91c77a7e9/ucsc_bigwig/main HTTP/1.0" 302 - ""; "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36" - - [16/May/2014:09:18:20 -0700] "GET
HTTP/1.0" 200 201 "-" "genome.ucsc.edu/net.c" - - [16/May/2014:09:18:20 -0700] "HEAD
HTTP/1.0" 200 92543742 "-" "genome.ucsc.edu/net.c" - - [16/May/2014:09:18:20 -0700] "HEAD
HTTP/1.0" 404 - "-" "genome.ucsc.edu/net.c" - - [16/May/2014:09:18:20 -0700] "HEAD
HTTP/1.0" 404 - "-" "genome.ucsc.edu/net.c"

I don't know how this works -- the dataset I clicked is in fact:


and it is on disk. However, it gave 404: - - [16/May/2014:09:18:20 -0700] "HEAD
HTTP/1.0" 404 - "-" "genome.ucsc.edu/net.c"

seems '_x_accel_redirect' is not substituted by the redirect alias '/'? but

I checked the permission and it is 775 for all the dir on path, and 664 for

so www-data user has the read access.

Also, where is this dir and file?


I don't see them anywhere on the disk at all!

I'm very confused about this. Could anyone give me a hand? I'll really

Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

To search Galaxy mailing lists use the unified search at:

Reply via email to