简体   繁体   中英

run django multiple application on different ports

How to run multiple apps in different port in django? i am using gunicorn. i want to run the multiple applications on same domain.

my Procfile:

web: gunicorn DCMS_API.wsgi:application

i have app1 and app2 in DCMS_API.

How do i host the multiple applications on same domain name as i am new to django, i am facing issue while hosting the application. my django project is uploaded with different domain names apps name getting added in the domain name.

Sorry i did a little research. if i add single app on manifest.yml, that application name gets added in the domain name, But rest of the apps need not to be added. You can access it by ****.com/app2.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM