title: Deploy Django on Plotly Dash Enterprise (Docker/Herokuish/Gunicorn/nginx)
body: <p>Good Evening,</p>
  <p>I am attempting to install a Django and run the development server and production WSGI on <a href="https://dash.plotly.com/dash-enterprise" rel="nofollow noreferrer">Dash Enterprise</a>.  I'll preface this with I am also fairly new to Python and Django but not programming.</p>
  <p>From what I can tell the Dash Enterprise Stack runs a Heroku like containerized web container setup. Each of these containerized apps have a web accessible IDE and are able to run the development web server and are served up at domain.com/Workspaces/view/app_name/</p>
  <p>When the code is pushed via git, the live app is viewable at domain.com/app_name/</p>
  <p>Gunicorn is employed with nginx to run the production web server and is configured via a ProcFile in the root of the app.</p>
  <p>Procfile</p>
  <pre><code>web: gunicorn app_name.wsgi
  </code></pre>
  <p>Other services at play appear to be Docker, Herokuish, and Dokku.</p>
  <p>My code runs fine when tested locally, but when employed on the server, the development server gives me errors such as</p>
  <pre><code>System check identified no issues (0 silenced).
  June 16, 2022 - 23:35:45
  Django version 4.0.5, using settings 'app_name.settings'
  Starting development server at http://0:8050/
  Quit the server with CONTROL-C.
  Not Found: /Workspaces/view/app_name/
  [16/Jun/2022 23:35:53] &quot;GET /Workspaces/view/app_name/ HTTP/1.1&quot; 404 2183
  </code></pre>
  <p>app_name/url.py</p>
  <pre><code>from django.contrib import admin
  from django.urls import path
  
  urlpatterns = [
      path('admin/', admin.site.urls),
  ]
  </code></pre>
  <p><a href="https://i.stack.imgur.com/pbAHI.png" rel="nofollow noreferrer">File Structure</a></p>
  <p>When I push via git, I'm able to see the unformatted domain.com/app_name/admin link but am unable to login.</p>
  <p>I can't see the welcome page for Django on either the development server or the production when running the test app.</p>
  <p>I was able to run a flask app with no issues, but Django is giving me headaches. It seems like the app is hosted underneath a URL path that is giving me fits. Any ideas for what I can look for and/or try to get this up and running?</p>