Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8099485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:25:18+00:00 2026-06-05T22:25:18+00:00

I have installed Nginx 1.2.0 with Passenger on my Mac Mini running Lion Server.

  • 0

I have installed Nginx 1.2.0 with Passenger on my Mac Mini running Lion Server. I used the instructions from the link below.

https://github.com/coverall/nginx

I will state upfront that I am new to Nginx & Passenger. I am working on a Ruby on Rails project that I would like to host on the server. When I try to start Nginx I get the following error:

[emerg] unknown directive "upload_pass" in /usr/local/etc/nginx/virtualhosts/adam.localhost.coverallcrew.com.conf:20

Here are lines 19 & 20 from the file in question. This is a file that I assume was included in the Nginx installation. The only config file I have done anything with is nginx.conf where I added the lines to hopefully host my Rails application.

# pass request body to here
upload_pass @fast_upload_endpoint;

This is my second attempt at doing extensive web searches on how to correct this error. I had hoped to find if I needed to add something to nginx.conf or something to get upload_pass defined somewhere but only found solutions where the directive was indeed missing.

I took a look at nginx.conf. There are a lot of statements commented out. Here are the ones that are not:

http {
    include       mime.types;
    default_type  application/octet-stream;
    sendfile        on;
    gzip  on;
    server_name_in_redirect off;
    port_in_redirect off;

    client_max_body_size 8m;
    client_body_buffer_size 128k;

    include upstreams/*.conf;
    include virtualhosts/*.conf;
    include third-party/*.conf;

    server {
        listen 8080;
        server_name www.lightbesandbox2.com;
        root /Sites/iktusnetlive_ror/public;
        passenger_enabled on;
    }
}

Another question: Do I need these virtual hosts that were including in the Nginx install?

Any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T22:25:19+00:00Added an answer on June 5, 2026 at 10:25 pm

    It appears your Nginx is not compiled with the upload_pass module so it does not understand that directive. I am not certain how to do this with homebrew, but you can compile it in:

    ./configure --add-module=/path/to/upload_pass/source

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm setting up a new server (my first!). I've installed Passenger and used passenger-install-nginx-module
I have an ubuntu server running nginx. I just tried to enable a vhost
I have recently installed subversion and nginx server on my machine (macbook pro). I'm
I have installed Nginx and I used fastcgi to run php script. When I
I have nginx installed (was using it for Ruby on rails with passenger). What
I have recently installed Nginx + Thin on my deployment server, but i am
I have a running ejabberd installation, with http-bind enabled, nginx proxy, and a mini
I have a VPS running Fedora, and I have installed nginx and PHP5.3.6. Here
I have installed team foundation server 2012 express and am wanting to connect through
I have installed pyglet onto Mac OS X 10.7.4 using MacPorts. pyglet only works

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.