Question: nginx missing upload module
gravatar for manuel.pasieka
7 months ago by
manuel.pasieka30 wrote:


I am trying to use nginx for handling uploads, and following i added the galaxy ppa ( ) in order to use the precompiled nginx including the upload module.

Trying to run nginx now i get an error message complaining about the upload_store instruction. So I guess i don't have a nginx+upload_module after all

nginx: [emerg] unknown directive "upload_store" in /etc/nginx/sites-enabled/galaxy:52

Checking the nginx compilation flags i get

nginx -V
nginx version: nginx/1.10.3 (Ubuntu)
built with OpenSSL 1.0.2g  1 Mar 2016
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/ --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_addition_module --with-http_dav_module --with-http_geoip_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_v2_module --with-http_sub_module --with-http_xslt_module --with-stream --with-stream_ssl_module --with-mail --with-mail_ssl_module --with-threads

Making sure i have the correct package installed

sudo apt list nginx -a
Listing... Done
nginx/xenial,now 1.10.3-0ubuntu0.16.04.2ppa1 all [installed]
nginx/xenial-updates,xenial-security 1.10.3-0ubuntu0.16.04.2 all
nginx/xenial 1.9.15-0ubuntu1 all

Checking the sources

sudo apt-cache policy nginx
  Installed: 1.10.3-0ubuntu0.16.04.2ppa1
  Candidate: 1.10.3-0ubuntu0.16.04.2ppa1
  Version table:
 *** 1.10.3-0ubuntu0.16.04.2ppa1 500
        500 xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     1.10.3-0ubuntu0.16.04.2 500
        500 xenial-updates/main amd64 Packages
        500 xenial-security/main amd64 Packages
     1.9.15-0ubuntu1 500
        500 xenial/main amd64 Packages

Any ideas what i missed? thx! Manuel

upload nginx • 305 views
ADD COMMENTlink written 7 months ago by manuel.pasieka30
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: 173 users visited in the last hour