[英]django multiple sites wsgi is enough?
I intend to have many python with django applications on my server,我打算在我的服务器上有许多 python 和 django 应用程序,
is it ok to have django with wsgi and many sites on the one server?一台服务器上有 wsgi 和许多站点的 django 可以吗?
thanks!谢谢!
Yes you can have as many different django sites as your server can handle.是的,您的服务器可以处理多少个不同的 django 站点。 You can set up separate virtual hosts pointing to the appropriate wsgi for each site you want.
您可以为您想要的每个站点设置单独的虚拟主机,指向适当的 wsgi。
Remember just because it is possible doesn't mean it's a good idea, keep in mind the resources each site is consuming.请记住,仅仅因为它是可能的并不意味着它是一个好主意,请记住每个站点正在消耗的资源。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.