Report this

What is the reason for this report?

Deploy django app with subdomain

Posted on August 25, 2016

Hello! I am going to deploy a django app with nginx and gunicorn. The site (example.com) has language subdomains (fr.example etc), which is managed directly by my django app (it detects the subdomains and sets the proper language). So this gona be one app for several subdomains. So I have questions about settings:

  • What to write in Networking panel in DO?
  • How to configure Nginx?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.