Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Maybe this is a stupid question. So stupid that I can't find the answer in tutorials or documentation.

I want to make some tests with Tornado Web Server. As far as I can see in the examples, Tornado can be started in, for instance, port 8000 and this setup is made with python code in the root of the app.

However, I've seen that people seems to be using it with Nginx, and I don't understand well their motivations. I understand that having an Nginx in the front can be necessary for production purposes, but for debugging, Isn't enough to start the script with the application?:


Why is necessary to have Nginx even for testing purposes?. Thanks a lot.

share|improve this question

closed as off-topic by Sven, mdpc, Jacob, Scott Pack, Wesley Jul 10 '13 at 17:08

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about software development are off-topic here, but can be asked on Stack Overflow." – Sven, mdpc, Jacob, Scott Pack, Wesley
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 4 down vote accepted

You don't really. Some configurations just take use of nginx's very good caching. Others just follow cargo cult engineering. Some are doing well because it solves their problem.

It's also mandatory to have a testing environment that reflects your production.

share|improve this answer
It's also mandatory to have a testing environment that reflects your production. would be the most logical reason. – voretaq7 Jul 10 '13 at 16:30
I must confess that I don't get it completely. I mean, the reason of needing Nginx and why Tornado itself isn't suitable for web serving in a production enviroment. Thanks a lot 'user' for answering. I don't get how this question can be marked as off-topic. As I see is extremely related to infraestructure. – Jacob84 Jul 11 '13 at 8:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.