Running multiple Google App Engine applications from the same domain

I would like to have the following:

myrootsite.appspot.com
myrootsite.appspot.com/app1
myrootsite.appspot.com/app2
etc.

Is it possible? I know that I can just do the /app1processing app1, but then the redirects and all will not work unless I explicitly used redirect('/app1')instead of the current one redirect('/').

Is it possible to download current applications ( app1, app2etc.) to the root site and do they run regularly?

Thanks in advance

+3
source share
3 answers

You can have only one application per site. This means that you need to:

app1.appspot.com
app2.appspot.com
+3
source

App Engine . , URL- /app 1 , URL- /​​app2 .

, , . , URL-, .

, , ( appspot.com, )

+1

You cannot have several applications in a domain without a reverse proxy server, but you can have several "sub-elements" - just configure each yourself using app.yaml / web.xml. They will use the same data store and memcache, but otherwise can be considered as separate components.

+1
source

Source: https://habr.com/ru/post/1740851/


All Articles