⬅︎ Back to Local Django development with Nginx
Cool, thanks!
Like this: server{ location / { try_files $uri @django @npm; } location @django { proxy_pass http://127.0.0.1:8000; } location @npm { proxy_pass http://127.0.0.1:3000; } }
Comment
Cool, thanks!
Parent comment
Like this: server{ location / { try_files $uri @django @npm; } location @django { proxy_pass http://127.0.0.1:8000; } location @npm { proxy_pass http://127.0.0.1:3000; } }