Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Cannot properly redirect Nginx to Dash Application

$
0
0

@bonfire09 wrote:

I have a dash app that I built and I am trying to host it on my server using Nginx and Gunicorn and while it works by going to www.site.com:5055 , it does not work going to www.site.com/dash/ for example. Basically the page stays stuck on Loading and in the developer tools I’m seeing failing to load resources such as dash_renderer.v1_2_2m1574885976.min.js and many more. So I’m not really sure what is going on here? If I’m missing something in my Nginx file. Thanks!

**Supervisor Setup**
[program: crm]
directory=/home/production/crm-dash-app
command = /home/production/crm-dash-app/venv/bin/gunicorn -w 3 -b :5055 app:server
user = production
autostart = true
autorestart = true
stopasgroups = true
killasgroup = true
stderr_logfile = /var/log/crm/crm.err.log
stdout_logfile=/var/log/crm/crm.out.log

**Nginx**

location /dash/ {
               proxy_pass   http://127.0.0.1:5055/;
               proxy_redirect off;

}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images