I have a web project - admin dashboard. After an admin or user logs in, he’s at
It’s behind nginx being a reverse proxy.
On this server we now plan to run another website-frontend too, at
I know that I can handle this by creating a new section in an nginx config which would prepend the existing sections. Will this alone be engouh? Or will I have to set some kind of
pathvariable in my Phoenix project too, in
Endpointso that the
Routes.aaa_path/url(...)continue to generate proper urls and paths?
Also, I want to isolate my admin dashboard project at
my_domain.com/admin, such that it’d think that it runs at
my_domain.comand it’s the root. Similar to
Is this also handled by nginx in this case - behind reverse proxy? Not by Phoenix?