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 6991917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:34:01+00:00 2026-05-27T19:34:01+00:00

Usually i’m using cherokee. Due to some critical issues with the latest chrome release

  • 0

Usually i’m using cherokee. Due to some critical issues with the latest chrome release i had to change my productive server to nginx for the time being.

Currently trying to get my configuration working as it did in cherokee.
I’m using a very simple uwsgi handler:

    location /project1 {
            include uwsgi_params;
            uwsgi_pass localhost:3032;
    }

Works fine, the project is available on myurl.com/project1.
But django takes myurl.com as project root.

Example how i want it to work:
Multiple projects on one subdomain: project1 on /project1, project2 on /project2, etc.

The Django regex rule “^$” should work on every project like:

In Project1: ^$ -> /project1

In Project2: ^$ -> /project2 etc.

Is there a way to get this in nginx working?

Cheers,

  • 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-05-27T19:34:01+00:00Added an answer on May 27, 2026 at 7:34 pm

    nginx does not set SCRIPT_NAME automatically as Cherokee.

    You can force it with

    uwsgi_param SCRIPT_NAME /project1;

    you then need to rewrite the PATH_INFO, uWSGI can do this automatically for you setting

    uwsgi_modifier1 30

    So full nginx config:

     location /project1 {
    
            include uwsgi_params;
            uwsgi_param SCRIPT_NAME /project1;
            uwsgi_modifier1 30;
            uwsgi_pass localhost:3032;
    }
    

    Another approach would be doing the whole job in uWSGI passing –manage-script-name as option and leaving the nginx config untouched.

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

Sidebar

Related Questions

Usually Flash and Flex applications are embedded on in HTML using either a combination
Usually, we install VS.NET on our production server, to solve problems easily with our
Usually, when using Windows Authentication, the software (eg Internet Explorer) tries to use Windows
Usually, parameter values are copied when being passed on. Using a reference may save
Usually when code needs some resource that needs to be released I see it
Usually when looking for some items not showing up in the other table, we
Usually, to export CSV reports from a mysql server, I connect & run a
Usually, visual studio puts output files to bin/debug or bin/release. When solution contains a
Usually i use SQL Server as database for my project, but one of my
usually i simply develop executable (.exe) files of my MATLAB codes by using this

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.