Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I have wrote site on Pyramid framework (Python) and bought VPS (OpenVZ technology) server.

I'm new to server administration and there is no much docs on how to configure Nginx with Python and Pyramid.

Maybe question is very poor from first sight, but I have a big gap in server's configure technology knowledge. Maybe there are useful links for my question I haven't found.

Thanks in advance!

share|improve this question

Both Pyramid and Nginx have very good documentation, independently. I assume you've built your site locally with Waitress or Paster serving the content. Essentially, from within Nginx's config, you are just going to direct incoming traffic from port 80 (the usual port for website traffic) to your Paster/Waitress port (e.g. 8000, 6543, etc.). There are some additional tips in the link below regarding making sure Nginx (which will be your "reverse proxy") passes along the Host headers to Paster/Waitress, so your Pyramid app can generate correct url's within.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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