Multiple Django Project + Nginx on subpath

后端 未结 2 408
心在旅途
心在旅途 2021-01-22 11:25

I am trying to run multiple dashboards written in Django to run on my server, but am not getting it up and running. Followed this digital ocean tutorial and modified it accordin

2条回答
  •  离开以前
    2021-01-22 12:19

    I suggest you try not doing any URL rewrites in the nginx config. Do the proxy_pass to the sockets as required, and then adapt your Django URL configs to match the URLs you want to use in the different apps.

提交回复
热议问题