Hi,

I know this has been asked many times and there are various posts 
addressing this but I'm struggling to find a concrete example, maybe my 
approach is wrong but I'd appreciate some help.

So, I have a number of mojo applicaitons, say app1, app2, appN, they all 
work great when I spin them up with hypnotoad on their own ports, app1 runs 
on 5000, app2 on 5001, appN 5..N.  Can I put all these seperate apps behind 
Nginx and have Nginx serve the js/css content from the public folder of 
each app on a single vhost? I have spent weeks trying to work this out so I 
may be on completely the wrong track.  

Here is my Nginx conf on my dev box:

server {
        listen 80 default_server;
        listen [::]:80 default_server;
     
        # Root for stuff like default index.html
        root /var/www/html;




I've also looked at Toadfarm but I'm concerned about scalability, doesn't 
Toadfarm check each route until it finds a match?  If I have 15 mojo apps 
running how is this going to impact on performance?

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to