K
K
kizimenko2018-11-07 23:52:29
Python
kizimenko, 2018-11-07 23:52:29

How to create Individual Python web applications in subfolders of a domain, on Beget hosting?

Compiled following the example https://beget.com/ru/articles/webapp_python on python 3.7.1 hosting, it is located in the .local folder
. Also, according to the instructions, I installed Flask on the site's subdomain. pt.site.ru
Everything works. Uploaded my program for processing Webhooks.
But this whole thing only works if I send a webhook to pt.site.ru
How can I make it so that there are different applications at pt.site.ru/web1 pt.site.ru/web2 and so on
And it was possible to send only hooks on pt.site.ru/web1 they are processed by their own algorithm, at a different address by others, and so on.
Screenshot structure.
5be34f31e3013769593124.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2018-11-08
@dimonchik2013

start your free
vps on amazon for example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question