Recognition

Posts

2 Posts
  • Published Answer

    How to deploy multiple Django apps (as subdomains) using nginx and Gunicorn

    Thank you so much BenSa! This got me on the right path. I’m not sure if this is “best practices” but it works. It helps to walk …
    By axoplasm
  • Published Question

    How to deploy multiple Django apps (as subdomains) using nginx and Gunicorn

    I have a new 18.04 Droplet running a Django website on nginx. I’d like to use this droplet to serve several websites at subdomains. I have successfully: Followed this excellent tutorial to set up my first website: htt...
    Accepted Answer: I believe you need to create multiple socket and service files. I created a separate *.service and *.socket file for each web app I changed the WorkingDirectory and ExecStart values in the *.service files appropriatel...
    2 By axoplasm Nginx Django Ubuntu 18.04